Skip to content

Feat edit annotations - #607

Open
robertwidfen wants to merge 13 commits into
Satty-org:mainfrom
robertwidfen:feat/edit_annotations
Open

Feat edit annotations#607
robertwidfen wants to merge 13 commits into
Satty-org:mainfrom
robertwidfen:feat/edit_annotations

Conversation

@robertwidfen

Copy link
Copy Markdown
Collaborator

Allows to modify annotation after they have been committed. Position, size, color, style ... edit text annotations, change number of marker, nudge selection by keyboard, ...

Fixes:

Sits on #606.

Would be great if some can test it before we merge it.

Touches many places.

Rectangle

recording_20260808_231406.mp4

Arrow and Marker

recording_20260808_231546.mp4

Text

recording_20260808_231630.mp4

Select annotations items with pointer tool.
Delete annotation with Delete.
Nudge selected annotation by cursor keys.
Pointer tool click raises annotation to top.
Double-click to edit text annotation.
Alt+Click selects overlapping annotations, but does not raise the annotation.
If (Alt+)Click without Ctrl hits an annotation starts temporary pointer tool.
Relying on undo is not sufficient when markers have been deleted.
Updates toolbar styles based on slected annotation and
update annotation with toolbar style changes.

Other changes:
- Always draw stroke, otherwise with fill-only the shape of
  rectangle and ellipse will shrink.
- Update selection bounds after redraw as with text
  we do not know the new size until redraw.
Scrol up to raise and down to lower.
Got lost somewhere during rebasing.
@robertwidfen
robertwidfen force-pushed the feat/edit_annotations branch from efae3fb to a30f086 Compare August 15, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant