diff --git a/crates/notedeck_ui/src/media/viewer.rs b/crates/notedeck_ui/src/media/viewer.rs index 18eecc8f..a6d199b2 100644 --- a/crates/notedeck_ui/src/media/viewer.rs +++ b/crates/notedeck_ui/src/media/viewer.rs @@ -212,11 +212,13 @@ impl<'a> MediaViewer<'a> { // the area the next image will be put in. let mut img_rect = ui.available_rect_before_wrap(); + /* if !ui.is_rect_visible(img_rect) { // just stop rendering images if we're going out of the scene // basic culling when we have lots of images break; } + */ { let size = texture.size_vec2();