PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Merge PR #3015: fix(comments): the note editor takes the keyboard once, so V and H pick tools again
aiongga77d3d25ae2a
diff --cc crates/ui-egui/src/comments_panel.rsindex 2ac1853f4,c62709c16..5f37789a7--- a/crates/ui-egui/src/comments_panel.rs+++ b/crates/ui-egui/src/comments_panel.rs@@@ -448,9 -449,8 +450,9 @@@ fn card.layout(Layout::top_down_justified(Align::Min)).show(|ui| {ui.set_min_width(160.0);+ crate::comments::attachment_items(ui, view, info, a);if ui.button(tl_ctx!("comment menu", "Edit")).clicked() {- view.comments.editing = Some((a.page, a.index, a.contents.clone().unwrap_or_default()));+ view.comments.open_editor(a.page, a.index, a.contents.clone().unwrap_or_default());ui.close();}ui.menu_button(tl!("Set status"), |ui| {