Debounce resize triggers when preloading (#2240)

* Debounce resize triggers when preloading

* Clear all previews in cache
This commit is contained in:
Joe Lim authored and GitHub committed 2025-10-30 13:52:29 +11:00
1 parent 49984bb606
commit 5ae9a4cd81
2 files changed
+6 -8

No files matched your search

+2
View File
@@ -516,6 +516,8 @@ func (app *app) loop() {
case <-app.nav.previewTimer.C:
app.nav.previewLoading = true
app.ui.draw(app.nav)
case <-app.nav.preloadTimer.C:
app.nav.preload()
}
}
}