summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
Diffstat (limited to 'widget')
-rw-r--r--widget/src/text_editor.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/widget/src/text_editor.rs b/widget/src/text_editor.rs
index 85332ba4..745e3ae8 100644
--- a/widget/src/text_editor.rs
+++ b/widget/src/text_editor.rs
@@ -822,12 +822,7 @@ where
{
renderer.fill_quad(
renderer::Quad {
- bounds: Rectangle {
- x: clipped_cursor.x,
- y: clipped_cursor.y,
- width: clipped_cursor.width,
- height: clipped_cursor.height,
- },
+ bounds: clipped_cursor,
..renderer::Quad::default()
},
style.value,