mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 21:28:20 +00:00
Use the Alt/Option key stream (mouse-position-alt) instead of the Command/Meta stream (mouse-position-mod) so the modifier is actually detected during shape drawing. When Alt is held, mirror the mouse point around the initial click so that the click becomes the center of the drawn shape. This aligns drawing behavior with resizing (transforms.cljs) and with other design tools (Figma, Sketch, Illustrator). Closes #8360 Signed-of-by: Serhii Shvets <justone128@gmail.com>