Repository navigation
Keep marks on the plate when the frame shrinks - #21
Merged
Merged
Conversation
…ragged Marks were clipped to the frame while drawing, so shrinking the frame made everything outside it vanish — it looked like the annotations had been thrown away. They stay on the dimmed plate now; the crop still decides what reaches the saved picture. The selected mark also gets a box with corner dots, like the frame, and dragging its body moves it: captions were the only kind that could be repositioned, which left rects and arrows stuck where they were drawn.
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.
Two things from the Snipaste comparison.
1. Shrinking the frame lost the annotations
drawMarksclipped every mark to the frame while drawing, so anything outside the frame disappeared the moment it was shrunk — it looked like the work had been thrown away. Marks stay on the dimmed plate now; the crop still decides what reaches the saved picture.2. Only captions could be moved
Clicking a rect or an arrow selected it (the wheel sizes it) but there was no way to put it somewhere else — and the selected mark only had a thin dashed outline, so it was easy to miss that it was selected at all.
SnipSession.moveShapetranslates start, end and every freehand point together.Still to come