feat: Display image and crop dimensions in toolbar#357
Merged
RobertMueller2 merged 4 commits intoSatty-org:mainfrom Mar 28, 2026
Merged
feat: Display image and crop dimensions in toolbar#357RobertMueller2 merged 4 commits intoSatty-org:mainfrom
RobertMueller2 merged 4 commits intoSatty-org:mainfrom
Conversation
Member
|
Thank you for your contribution. It might take a few days to review. |
Member
|
Ok, I've had a look. Few small things I'd like to see changed within the PR:
Additional remarks regarding the crop tool for future discussion:
|
Closed
fmt to projec's defaults
- Change tooltip to "output dimensions" - Keep crop dimension when leaving crop - simplify logic, no need to broadcast deactivation - use Some(dimension) and None instead of (0,0) tuple for "no crop" - set static width for UI element to 11 chars
Introduces Enter as a means to finish active editing of crop area without discarding results Introduces Right Click as a pendant to Escape to discard crop altogether.
Member
|
Pushed commits:
|
Member
|
Should be good for merging now, thanks for the PR! ❤️ |
|
This is huge, thanks so much for putting this together and it getting merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds image and crop dimensions display to the toolbar for better visibility and fixed-size rendering.
NOTE: event flow from
CropTool → SketchBoard → App → StyleToolbarUpdate: eab8720 Adds: