Merge PR #1577 from mechpanos/fix/zoom-cursor-and-extents: zoom cursor per navigation tool, and ZOOM EXTENTS frames everything

This commit is contained in:
Hakan Seven committed 2026-10-02 10:06:43 +03:00
commit e8a4f1316f
8 files changed
+514 -341

No files matched your search

+5
View File
@@ -59,6 +59,11 @@ pub struct SelectionState {
pub middle_down: bool,
pub middle_last_pos: Option<Point>,
pub middle_last_press_time: Option<Instant>,
/// Which way a ZOOM Dynamic drag is currently zooming: `true` while it is
/// zooming out. Only the magnifier cursor reads it. The sign is latched
/// rather than taken from the live `dy` so that the sub-pixel jitter of a
/// slow drag cannot strobe the `+` / `−` glyph.
pub zoom_dir_out: bool,
}
/// Transient state of the open right-click context menu.