mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-05 19:51:38 -05:00
47aff0b2fb
Shift kept the Pen's next segment to 45° steps, two directions in a quarter turn, where Figma's Pen offers six: 15° steps (measured in Figma on 2026-12-03). The Pen now snaps to 15° steps with Shift, from its last point while drawing a path and from the open end in vector edit mode; the band shows where the point lands. In vector edit mode the band followed the pointer with Shift held while the click went to the step, so Shift looked as if it did nothing there; it now ends where the click lands, worked out in the layer as the click is. at_45_degrees becomes at_angle_step with the step given, and PEN_STEP holds the Pen's. The Line tool and the Pencil keep 45° until their steps are measured. Tests: pen_overlay_tests (the band and the next point at 15° steps, the pen in vector edit mode, and its band there).