summaryrefslogtreecommitdiffstats
path: root/core/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/widget')
-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(),