fix: prevent loading previews with outdated dimensions (#2491)

* fix preload size

* fix race

* skip height check

* fix loaded previews
This commit is contained in:
valoq authored and GitHub committed 2026-05-15 14:05:57 +10:00
1 parent 87d067c552
commit 2cd4ba016a
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -622,6 +622,7 @@ type reg struct {
path string
lines []string
sixel bool
height int
}
func (ui *ui) loadFile(app *app, volatile bool) {