mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 05:42:52 +00:00
After a highlight, its note editor in the Comments panel kept the keyboard, so V and H were typed into the note (#2669, item 2). - The editor asked for the keyboard on every frame when no other widget had it, so it took it back after every click elsewhere. It now takes it once, when it opens (CommentView::open_editor, EditorFocus::Take). - Adding another comment left the editor open, and drawing is a drag, which egui doesn't treat as a click elsewhere. An empty editor on another comment now closes when a comment is added; one with text stays open with it but gives the keyboard back (EditorFocus::Release). Part of #2669.