PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Integration: #3864 one doc comment each for page_raster_out_of_date and page_out_of_date
aionggc9aff05965c0
diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rsindex 368881609..b4164c0fd 100644--- a/crates/ui-egui/src/canvas.rs+++ b/crates/ui-egui/src/canvas.rs@@ -1049,14 +1049,14 @@ impl DocView {self.pages.get(&page).map(|p| p.tex.id())}- /// Whether `page` is still drawn, somewhere, as it was before its last change: its whole-page- /// raster (a tiled page's backdrop too) or any of its tiles waits for a replacement./// Whether `page`'s whole-page raster (a tiled page's backdrop too) is still the one from/// before its last change, whatever its tiles are.pub(crate) fn page_raster_out_of_date(&self, page: usize) -> bool {self.pages.get(&page).is_some_and(|p| p.tag == STALE_TAG)}+ /// Whether `page` is still drawn, somewhere, as it was before its last change: its whole-page+ /// raster (a tiled page's backdrop too) or any of its tiles waits for a replacement.pub(crate) fn page_out_of_date(&self, page: usize) -> bool {self.pages.get(&page).is_some_and(|p| p.tag == STALE_TAG) || self.stale_tiles.iter().any(|k| k.0 == page)}