Fix progress says consistant for different girth values.
This commit is contained in:
parent
87901c2d48
commit
dc4e89596a
1 changed files with 2 additions and 1 deletions
|
|
@ -203,7 +203,8 @@ where
|
||||||
< border.radius.top_left.max(border.radius.bottom_left)
|
< border.radius.top_left.max(border.radius.bottom_left)
|
||||||
&& !marker_segment
|
&& !marker_segment
|
||||||
{
|
{
|
||||||
(width * bounds.width * 2.0).min(bounds.height)
|
(bounds.height - (2.0 * radius).min(bounds.height) + width * bounds.width * 2.0)
|
||||||
|
.min(bounds.height)
|
||||||
} else {
|
} else {
|
||||||
bounds.height
|
bounds.height
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue