Snap text to the pixel grid on the X axis in iced_wgpu
This commit is contained in:
parent
3881d68b7e
commit
6c0962c5c3
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ fn prepare(
|
|||
|
||||
Some(cryoglyph::TextArea {
|
||||
buffer,
|
||||
left: position.x,
|
||||
left: position.x.round(),
|
||||
top: position.y,
|
||||
scale: transformation.scale_factor()
|
||||
* layer_transformation.scale_factor(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue