mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 21:41:45 +00:00
Fix progress size
This commit is contained in:
parent
6b92aaf494
commit
613eb3d875
@ -601,7 +601,7 @@ public final class StoryPeerListItemComponent: Component {
|
||||
self.progressLayer = progressLayer
|
||||
self.indicatorMaskLayer.addSublayer(progressLayer)
|
||||
}
|
||||
let progressFrame = CGRect(origin: CGPoint(), size: indicatorFrame.size)
|
||||
let progressFrame = CGRect(origin: CGPoint(), size: indicatorFrame.size).insetBy(dx: 2.0, dy: 2.0)
|
||||
progressTransition.setFrame(layer: progressLayer, frame: progressFrame)
|
||||
progressLayer.update(size: progressFrame.size, lineWidth: 4.0, progress: progress, transition: transition)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user