Fix iced_tiny_skia clipping line strokes
This commit is contained in:
parent
ff49f581fa
commit
331cfc1102
1 changed files with 2 additions and 2 deletions
|
|
@ -674,8 +674,8 @@ impl Backend {
|
||||||
let physical_bounds = (Rectangle {
|
let physical_bounds = (Rectangle {
|
||||||
x: bounds.x(),
|
x: bounds.x(),
|
||||||
y: bounds.y(),
|
y: bounds.y(),
|
||||||
width: bounds.width(),
|
width: bounds.width().max(1.0),
|
||||||
height: bounds.height(),
|
height: bounds.height().max(1.0),
|
||||||
} * transformation)
|
} * transformation)
|
||||||
* scale_factor;
|
* scale_factor;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue