mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
General > Use Precise Cursors already worked and is saved with the other preferences. This adds a `view.preciseCursors` command that toggles that same preference, so it can be given a shortcut in Edit > Keyboard Shortcuts. It has no default shortcut and no View menu item. The comment in canvas.rs claimed Caps Lock gave precise cursors; nothing reads Caps Lock (egui has no state for it), so it now describes what the code does. Tests: for the tools whose own pointer the preference replaces (Pen, the anchor tools, Curvature, Mesh, Eyedropper, Slice, Blend, Shape Builder) the pointer is their own when off and a crosshair when on; every state of the Pen's pointer turns into a crosshair; the preference round-trips through to_json/apply_prefs; the command toggles it, updates the saved UI state, is listed in the shortcut editor without a key and can be assigned one; switching it creates no undo step and leaves the document saved; with system cursors the glyph fallback is the system crosshair either way. The new label is translated in the languages that claim complete menus. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>