Inline video playback fixes

This commit is contained in:
Ilya Laktyushin
2019-02-17 15:18:06 +04:00
parent a98aa3e57f
commit 1a865367a1
14 changed files with 188 additions and 121 deletions

View File

@@ -976,7 +976,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
}
}
let (_, contentNodeFinalize) = contentNodeLayout(framesAndPositions[mosaicIndex].0.size, .mosaic(position: ChatMessageBubbleContentMosaicPosition(topLeft: topLeft, topRight: topRight, bottomLeft: bottomLeft, bottomRight: bottomRight)))
let (_, contentNodeFinalize) = contentNodeLayout(framesAndPositions[mosaicIndex].0.size, .mosaic(position: ChatMessageBubbleContentMosaicPosition(topLeft: topLeft, topRight: topRight, bottomLeft: bottomLeft, bottomRight: bottomRight), wide: position.isWide))
contentNodePropertiesAndFinalize.append((contentNodeProperties, contentNodeFinalize))