mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Preferences › Units › Numbers Without Units Are Points was stored and never read. On, a number typed with no unit into any length field (`num_field`, `opt_field`, and so the spin fields built on them) is read in points whatever the field's unit; a typed unit (`12 mm`, `1in`) still wins, and the field keeps showing its value in its own unit. The app sets the frame's rule from the preference in `logic`, the fields read it through the egui context (`widgets::typed_unit`), so none of the 45 callers change. The default flips from true to false, which is Illustrator's default and the behaviour the fields had while the option was unread. Developed with AI assistance (Claude Code); reviewed and tested locally. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>