From d40aa6400d7e8692516c2651687790a00deb727e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 2 Oct 2024 15:45:21 +0200 Subject: Cull widget draw calls in `column` and `row` --- core/src/widget/text.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/src/widget') diff --git a/core/src/widget/text.rs b/core/src/widget/text.rs index 813b4be8..8b02f8c2 100644 --- a/core/src/widget/text.rs +++ b/core/src/widget/text.rs @@ -334,10 +334,6 @@ pub fn draw( { let bounds = layout.bounds(); - if !bounds.intersects(viewport) { - return; - } - let x = match paragraph.horizontal_alignment() { alignment::Horizontal::Left => bounds.x, alignment::Horizontal::Center => bounds.center_x(), -- cgit