Remove cursor snapping hack in text_editor
The `quad` shader now properly takes care of snapping lines to the pixel grid.
This commit is contained in:
parent
03472dfd4f
commit
be7d175388
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ where
|
|||
renderer.fill_quad(
|
||||
renderer::Quad {
|
||||
bounds: Rectangle {
|
||||
x: clipped_cursor.x.floor(),
|
||||
x: clipped_cursor.x,
|
||||
y: clipped_cursor.y,
|
||||
width: clipped_cursor.width,
|
||||
height: clipped_cursor.height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue