mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 18:47:22 -06:00
- Retain tiles of on-screen pages at both eviction sites in crates/ui-egui/src/canvas.rs, so a pan or zoom that moves the viewport no longer discards tiles that were rendered sharp moments earlier. - Stop dropping a zoom's tiles when zooming out far enough shows the page whole; that made returning to a visited zoom a cold miss, which re-blurred the page and re-interpreted it once per tile. - Bound older-zoom retention by bytes (TILE_BYTES) as well as by count (OLD_TILES): a tile of a large scan can be 4096 squared, about 67 MiB, so a count alone ran past the tile allowance. - Add returning_to_a_visited_zoom_reuses_its_cached_tiles, which fails on the reverted fix, and cite both view tests in view.deep-zoom-tiles; the entry stays partial because the 8192 px-per-side cap is untouched.