diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-09 14:45:51 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-09 14:46:11 -0500 |
| commit | cd06a27e20717cdfbcc6840328f67405acc7c9e7 (patch) | |
| tree | 9cc2e9c67c749f4a9e263d586a244b7e7746b5fd /tui/layout.go | |
| parent | dc957f6bb77c9d89b52f22b605f79f7be110f546 (diff) | |
jump to message
Diffstat (limited to 'tui/layout.go')
| -rw-r--r-- | tui/layout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/layout.go b/tui/layout.go index f8ea4bc..d230a87 100644 --- a/tui/layout.go +++ b/tui/layout.go @@ -342,7 +342,7 @@ func (b *Box) computePositions(axis int) { b.Scroll.offset = -p b.Scroll.at = first.id } - if b.Scroll.absolute == 0 { + if b.Scroll.absolute == 0 && !b.Scroll.NoSnap { b.Scroll.at = "" b.Scroll.offset = 0 } |
