You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a05877f
Browse filesBrowse the repository at this point in the historyBrowse files
Finish a crop gesture wherever it can be cut short; tighten crop checks
- Session::exit_crop() is the one way out of crop mode (Enter/Escape, the
toggle, a click elsewhere, a selection that no longer fits): it finishes a
crop drag still in progress as its own "Crop" undo step first.
- set_tool and Undo/Redo also finish a crop drag first, so later pointer
events can't carry it on and Undo takes back exactly that gesture.
- Crop drags store crop fractions clamped as the renderer draws them.
- picture.crop with keepFrame rejects a crop that leaves nothing showing.
- picture.cropMode is enabled only with exactly one picture selected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"{on?: bool (default: toggle), id?} — show the crop handles on one selected picture: drag them to crop, drag the picture to move it inside, its round handles to scale it; Enter, Escape or a click elsewhere ends",
0 commit comments