Fix iced_tiny_skia clipping line strokes

This commit is contained in:
Héctor Ramón Jiménez 2024-02-22 17:35:28 +01:00
parent ff49f581fa
commit 331cfc1102
No known key found for this signature in database
GPG key ID: 0BF4EC06CD8E5686

View file

@ -674,8 +674,8 @@ impl Backend {
let physical_bounds = (Rectangle {
x: bounds.x(),
y: bounds.y(),
width: bounds.width(),
height: bounds.height(),
width: bounds.width().max(1.0),
height: bounds.height().max(1.0),
} * transformation)
* scale_factor;