mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-27 17:01:38 +01:00
Choosing Crop in the color picker's scale mode dropdown initializes the image's placement crop without closing the picker or entering interactive crop mode on the canvas. Resizing the layer normally without Cmd keeps the stored crop transform unchanged, stretching/squishing the image fill to fit the layer (Figma parity). Holding Cmd while resizing continues to crop the image without moving pixels. Tests: transform_behaviour_tests::crop_mode_image_resizing_without_cmd_morphs_and_with_cmd_crops, crop_image_tests.