Various fixes

This commit is contained in:
Peter Iakovlev
2018-12-03 05:01:34 +04:00
parent 37d5a67d0a
commit 315d91b8b3
94 changed files with 995 additions and 476 deletions

View File

@@ -439,6 +439,7 @@ final class ChatMessageInteractiveMediaNode: ASDisplayNode {
var statusFrame = statusNode.frame
statusFrame.origin.x = floor(imageFrame.midX - statusFrame.width / 2.0)
statusFrame.origin.y = floor(imageFrame.midY - statusFrame.height / 2.0)
statusNode.frame = statusFrame
}
if let replaceVideoNode = replaceVideoNode {