Textures::thumb: document the stale thumbnail returned over budget

This commit is contained in:
FredApps committed 2026-11-05 05:18:38 +01:00
1 parent ebd306acc1
commit 480cbfd4ef
1 file changed
+3 -2
+3 -2
View File
@@ -361,8 +361,9 @@ impl Textures {
self.thumbs.clear();
}
/// A thumbnail texture; renders at most `budget` new thumbnails per frame (returns None when
/// it is over budget, so the caller draws a placeholder and asks for another frame).
/// A thumbnail texture; renders at most `budget` new thumbnails per frame. Over budget it
/// returns the slide's previous thumbnail if there is one (and asks for another frame), else
/// None, so the caller draws a placeholder.
/// When `grayscale` is true, the thumbnail renders in black-and-white (matching Grayscale view).
pub fn thumb(
&mut self,