mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Fix story item content size
This commit is contained in:
parent
683e0d7603
commit
359653260c
@ -2048,7 +2048,7 @@ public final class StoryItemSetContainerComponent: Component {
|
||||
let contentFrame = CGRect(origin: CGPoint(x: 0.0, y: component.containerInsets.top - (contentSize.height - contentVisualHeight) * 0.5), size: contentSize)
|
||||
|
||||
let itemLayout = ItemLayout(
|
||||
size: availableSize,
|
||||
size: contentFrame.size,
|
||||
contentFrame: contentFrame,
|
||||
contentVisualScale: contentVisualScale
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user