mirror of
https://github.com/penpot/penpot.git
synced 2026-11-17 07:30:35 +00:00
Add a scale content mode panel that shows the size of the selection, a scale factor with presets, and a nine point anchor selector. Scaling keeps the chosen anchor of the selection bounds in place and scales the shape content (strokes, texts, shadows) as the scale content mode does. Add a scale-selected event that applies the resize to the selected shapes ignoring constraints, wire it to the panel, and make Escape leave the scale mode instead of clearing the selection. Let combobox* accept an optional icon, shown when the selected option has no icon of its own, and stop reporting an already delivered value again when the input unmounts. Cover the new event with frontend tests.