gpui: Align image sprites to whole pixels (#29227)
Similar to #15822, just applies the same fix to images as they are also affected by the same issue. Release Notes: - N/A
This commit is contained in:
parent
8607c7d3ee
commit
6caf34ab7e
1 changed files with 3 additions and 1 deletions
|
@ -2659,7 +2659,9 @@ impl Window {
|
||||||
order: 0,
|
order: 0,
|
||||||
pad: 0,
|
pad: 0,
|
||||||
grayscale,
|
grayscale,
|
||||||
bounds,
|
bounds: bounds
|
||||||
|
.map_origin(|origin| origin.floor())
|
||||||
|
.map_size(|size| size.ceil()),
|
||||||
content_mask,
|
content_mask,
|
||||||
corner_radii,
|
corner_radii,
|
||||||
tile,
|
tile,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue