mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-28 20:47:15 -06:00
The slide thumbnail pane and the Slide Sorter asked the texture cache for a thumbnail on every row, in view or not, three or four new ones a frame. The cache keeps at most 600 thumbnails and drops the 200 oldest beyond that, so on a deck of more than 600 slides the pane evicted its own thumbnails before it reached the end: it kept rendering, the rows in view went white again and again, and it never finished. Now only rows within the scroll area's clip (plus two rows of margin) ask for a thumbnail and keep the pane repainting; the others are still laid out, so scroll height, section headers, clicks and drag-to-reorder are unchanged. Small decks behave as before. Co-Authored-By: Claude <noreply@anthropic.com> # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # interactive rebase in progress; ontoa31b990# Last command done (1 command done): # pick03fce2aThumbnails: only render the slides in view (#969) # No commands remaining. # You are currently rebasing. # # Changes to be committed: # modified: ROADMAP.md # modified: crates/ui-egui/src/huge_deck_tests.rs # modified: crates/ui-egui/src/sorter.rs # modified: crates/ui-egui/src/thumbs.rs #