mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Various Fixes
This commit is contained in:
parent
3eb72cd350
commit
1a7fa604c8
@ -1343,6 +1343,13 @@ class ChatMessageInstantVideoItemNode: ChatMessageItemView, UIGestureRecognizerD
|
|||||||
if let reactionButtonsNode = self.reactionButtonsNode {
|
if let reactionButtonsNode = self.reactionButtonsNode {
|
||||||
let reactionButtonsSize = reactionButtonsNode.frame.size
|
let reactionButtonsSize = reactionButtonsNode.frame.size
|
||||||
let reactionButtonsFrame = CGRect(origin: CGPoint(x: videoFrame.minX, y: videoFrame.maxY + 6.0), size: reactionButtonsSize)
|
let reactionButtonsFrame = CGRect(origin: CGPoint(x: videoFrame.minX, y: videoFrame.maxY + 6.0), size: reactionButtonsSize)
|
||||||
|
if !incoming {
|
||||||
|
reactionButtonsFrame.origin.x = videoFrame.maxX - reactionButtonsSize.width
|
||||||
|
}
|
||||||
|
if let actionButtonsNode = self.actionButtonsNode {
|
||||||
|
let actionButtonsSize = actionButtonsNode.frame.size
|
||||||
|
reactionButtonsFrame.origin.y += 4.0 + actionButtonsSize.height
|
||||||
|
}
|
||||||
reactionButtonsNode.frame = reactionButtonsFrame
|
reactionButtonsNode.frame = reactionButtonsFrame
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user