mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-25 02:17:30 -06:00
As in Photoshop, right-clicking the W or H field of the Free Transform (and Free Transform Path) options bar opens a menu of units: Pixels, Inches, Centimeters, Millimeters, Points, Picas and Percent, the current one checked. W and H then show the box's size in that unit at the document's resolution (1200 px at 300 ppi is 10.16 cm), and a value typed in it scales the box to that length; Percent, the default, is the scale as before. The pick is remembered with the dialog settings (`dialogs["edit.freeTransform"].sizeUnit`). The menu is the rulers' unit menu (`rulers::unit_menu`), the conversion is the Properties panel's `LenUnit`, and the size limits and the link toggle work on the scale as before. Length fields are wider (84 pt) so "2116.67 mm" fits; Percent keeps its 66 pt. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>