summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-10-02 15:45:21 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-10-02 15:45:21 +0200
commitd40aa6400d7e8692516c2651687790a00deb727e (patch)
tree614eb59115dff257fd9fd42e0efca871b2012421 /core
parent509a0a574a2aa343643dfea63eb154ea46c4ef7f (diff)
downloadiced-d40aa6400d7e8692516c2651687790a00deb727e.tar.gz
iced-d40aa6400d7e8692516c2651687790a00deb727e.tar.bz2
iced-d40aa6400d7e8692516c2651687790a00deb727e.zip
Cull widget draw calls in `column` and `row`
Diffstat (limited to '')
-rw-r--r--core/src/widget/text.rs4
1 files changed, 0 insertions, 4 deletions
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<Renderer>(
{
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(),