mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Glass
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user