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.fill_quad(
|
||||||
renderer::Quad {
|
renderer::Quad {
|
||||||
bounds: Rectangle {
|
bounds: clipped_cursor,
|
||||||
x: clipped_cursor.x,
|
|
||||||
y: clipped_cursor.y,
|
|
||||||
width: clipped_cursor.width,
|
|
||||||
height: clipped_cursor.height,
|
|
||||||
},
|
|
||||||
..renderer::Quad::default()
|
..renderer::Quad::default()
|
||||||
},
|
},
|
||||||
style.value,
|
style.value,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue