diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 20:17:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | 179863c0a7b011d5a4bd5e064f7d021d239aa96e (patch) | |
| tree | 02f56d75f3627de575b912d22418e5b4e0eb7d0f /src/panes.zig | |
| parent | ffa2fd2d4b40bc4ff2a05263cf82ee9638590edd (diff) | |
| download | pardes-179863c0a7b011d5a4bd5e064f7d021d239aa96e.tar.gz pardes-179863c0a7b011d5a4bd5e064f7d021d239aa96e.zip | |
Clear selections when navigating Back and Forward
Diffstat (limited to 'src/panes.zig')
| -rw-r--r-- | src/panes.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panes.zig b/src/panes.zig index c3fa732e..88e6a8ea 100644 --- a/src/panes.zig +++ b/src/panes.zig @@ -3604,7 +3604,7 @@ pub const Pdf = struct { return result; } - test "PDF selections retain their owning page across history navigation" { + test "PDF selections retain their owning page across page focus" { if (comptime !enabled) return; const gpa = std.testing.allocator; var state = try State.open(gpa, "docs/design.pdf", 1); @@ -5372,7 +5372,7 @@ pub const Pdf = struct { const destination = owner.state.sectionDestination(core.pdf_gpa, at.col - 1) orelse return true; switch (destination) { .internal => |internal| { - core.clearLookSelection(owner.pane); + core.clearNavigationSelection(owner.pane); revealOutlineDestination(core, owner.pane, internal); }, .external => |uri| if (uri.len <= 256) core.emit(.{ .open_link = .from(uri) }), |
