Use clipped_cursor directly in text_editor

This commit is contained in:
Héctor Ramón Jiménez 2024-08-12 03:25:28 +02:00
parent 8e87d664d4
commit 7740c35a2a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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,