Fix story item content size

This commit is contained in:
Ilya Laktyushin 2023-06-26 01:55:40 +02:00
parent 683e0d7603
commit 359653260c

View File

@ -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
)