diff options
Diffstat (limited to '')
-rw-r--r-- | glow/src/backend.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glow/src/backend.rs b/glow/src/backend.rs index 7939311c..882dd605 100644 --- a/glow/src/backend.rs +++ b/glow/src/backend.rs @@ -75,7 +75,7 @@ impl Backend { layer: &Layer<'_>, target_height: u32, ) { - let mut bounds = (layer.bounds * scale_factor).round(); + let mut bounds = (layer.bounds * scale_factor).snap(); bounds.height = bounds.height.min(target_height); if !layer.quads.is_empty() { |