Use clipped_cursor directly in text_editor
This commit is contained in:
parent
8e87d664d4
commit
7740c35a2a
1 changed files with 1 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue