Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

docs(ui): a link's tip shows where a press acts on it, with Select or Link

alehelc14910b182e9
diff --git a/crates/ui-egui/src/canvas/page_cursor.rs b/crates/ui-egui/src/canvas/page_cursor.rs
index d8ae61bc3..382f5efb6 100644
--- a/crates/ui-egui/src/canvas/page_cursor.rs
+++ b/crates/ui-egui/src/canvas/page_cursor.rs
@@ -6,10 +6,10 @@
//! showed over every tool though only the Select tool follows links, and the I-beam of the text
//! under a comment hid that a drag there moves the comment. `canvas::document_area` sets the
//! cursor once, from the claim on the highest layer the active tool reaches. The tip beside it is
-//! that claim's own (a link's target, so only where a press follows the link), or else what lies
-//! under the pointer says (a comment, or a signature's validation badge), with any tool, as
-//! Acrobat shows a comment's tooltip. A test in `page_pointer/tests.rs` keeps page modules from
-//! setting the cursor.
+//! that claim's own (a link's target, so only where a press acts on the link: the Select tool
+//! follows it, the Link tool edits it), or else what lies under the pointer says (a comment, or a
+//! signature's validation badge), with any tool, as Acrobat shows a comment's tooltip. A test in
+//! `page_pointer/tests.rs` keeps page modules from setting the cursor.
use egui::CursorIcon;