notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 5280028a82408c1ffcf3cadfaa78ef05955ee0d6
parent f4a6e8f9bbb943869098ff3f24e33c70ec531eab
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 29 Jul 2025 11:03:42 -0700

media/viewer: fix broken culling

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mcrates/notedeck_ui/src/media/viewer.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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();