Fix progress says consistant for different girth values.

This commit is contained in:
Aadil127 2026-06-09 16:10:46 +05:30
parent 87901c2d48
commit dc4e89596a

View file

@ -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
}; };