mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
Part of #394: Show Pixel Grid (Above 600% Zoom)
Preferences › Guides & Grid › Show Pixel Grid (Above 600% Zoom) was stored and never read. On (the default), in View › Pixel Preview at 600% zoom and above the canvas draws a translucent line at every document pixel over the art, so the pixels the art rasterizes to can be seen; nothing below 600%, out of Pixel Preview, or with the option off. Drawn by the same `grid()` as the document grid, at a 1 pt spacing. A headless frame test counts the pixel grid's lines at 800%, 500% and 600%, in and out of Pixel Preview and with the option off, and checks they are drawn over the art. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
349e1eac3c
commit
aa8e77d09a
3 files changed
+54
-7
No files matched your search
+5
-4
@@ -1176,10 +1176,11 @@ The Selection & Anchor Display and General preferences apply to `pointer_gesture
|
||||
The preferences for the view need the desktop app (`vectorcraft-cli mcp --connect`): `zoomWithMouseWheel` (the
|
||||
wheel zooms about the pointer, Shift-wheel scrolls up and down, Cmd/Ctrl-wheel sideways; the control channel's
|
||||
`ui.wheel` turns the wheel), `zoomToSelection` (on: Zoom In and Zoom Out centre the selection), `showToolTips`,
|
||||
`anchorSize` (1–7), `gridColor`, `gridStyle`, `gridsInBack`, `guideColor`, `guideStyle`, `recentFontsCount`,
|
||||
`antiAliasedArtwork` (on by default; off, the canvas draws the art with hard edges — a pixel is painted when the art
|
||||
covers at least half of it — while raster effects and pattern tiles stay smooth; exports keep their own Anti-aliasing
|
||||
option) and
|
||||
`anchorSize` (1–7), `gridColor`, `gridStyle`, `gridsInBack`, `guideColor`, `guideStyle`, `showPixelGrid` (on by
|
||||
default: in View › Pixel Preview at 600% zoom and above, a line at every document pixel over the art),
|
||||
`recentFontsCount`, `antiAliasedArtwork` (on by default; off, the canvas draws the art with hard edges — a pixel is
|
||||
painted when the art covers at least half of it — while raster effects and pattern tiles stay smooth; exports keep
|
||||
their own Anti-aliasing option) and
|
||||
`scrubNumericFields` (on: a horizontal drag on a numeric field's label steps the field, one undo step per drag; the
|
||||
control channel's `ui.drag` scrubs).
|
||||
|
||||
|
||||
Reference in new issue
Block a user