Make crop a Photos-style tool with undo and actual-size view

Crop is now a mode like Draw/Redact: a draggable rect with corner and
edge handles, rule-of-thirds grid, dimmed surroundings, Cancel (Esc) and
Crop Image (Return). Re-entering crop after a crop shows the full
original with the handles on the current crop region, so it can be
dragged back outward; every crop is undoable from the toolbar.

The result window also gains an Actual Size view (Cmd+0): one image
pixel per screen pixel, scrollable, so retina captures stay crisp
instead of being resampled down to the window size.

Generated with OpenCode

Assisted-by: Kimi:k3
This commit is contained in:
2026-10-26 20:45:48 +08:00
parent 6a2afef1d2
commit ce89d34654
2 changed files with 361 additions and 56 deletions
+2 -2
View File
@@ -108,9 +108,9 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'
<key>CFBundleIconFile</key>
<string>Icon</string>
<key>CFBundleShortVersionString</key>
<string>1.11.0</string>
<string>1.11.1</string>
<key>CFBundleVersion</key>
<string>110</string>
<string>111</string>
<key>LSUIElement</key>
<true/>
<key>NSHighResolutionCapable</key>