This commit is contained in:
Isaac
2025-09-01 18:44:03 +02:00
parent 8e7e5fefb1
commit 4337026fba
37 changed files with 2883 additions and 786 deletions

View File

@@ -445,7 +445,7 @@ public class AnimatedCountLabelView: UIView {
effectiveSegmentWidth = max(effectiveSegmentWidth, 4.0)
}
calculatedSegments[segment.key] = (layout, effectiveSegmentWidth, apply)
contentSize.width += effectiveSegmentWidth
contentSize.width += floor(effectiveSegmentWidth * 0.9)
contentSize.height = max(contentSize.height, layout.size.height)
remainingSize.width = max(0.0, remainingSize.width - layout.size.width)
if layout.truncated {