mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
The Align, Distribute, Distribute Spacing, Align To and Pathfinder icons keep their art 3 units inside a 24-unit view box. The framework draws every icon in a 16 pt square, so this art spans 12 pt, smaller than the Lucide icons next to it and smaller than the 15 pt the Align Objects, Distribute Objects and Pathfinder buttons drew before the framework port. The 28 icons now have a 20-unit view box from 2 to 22, the padding the Lucide icons keep. Their width and height change with it, so strokes keep their width in pixels. The art itself is unchanged. A new panel harness method returns a frame's shapes with the images of its textures, and two tests check that each Align and Pathfinder panel icon spans at least 20/24 of its square. Both fail without the change (0.75).