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:
Matin Aniss 2025-04-23 03:29:03 +10:00 committed by GitHub
parent 8607c7d3ee
commit 6caf34ab7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2659,7 +2659,9 @@ impl Window {
order: 0,
pad: 0,
grayscale,
bounds,
bounds: bounds
.map_origin(|origin| origin.floor())
.map_size(|size| size.ceil()),
content_mask,
corner_radii,
tile,