mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix swipe to reply icon in tooltip
This commit is contained in:
parent
5b1a87d514
commit
f628ae8d6b
@ -261,7 +261,12 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
|
||||
let firstLayout = self.validLayout == nil
|
||||
self.validLayout = layout
|
||||
|
||||
let leftInset: CGFloat = 50.0
|
||||
var leftInset: CGFloat = 50.0
|
||||
if let animationNode = self.animationNode, let iconSize = animationNode.preferredSize() {
|
||||
if iconSize.width > leftInset {
|
||||
leftInset = iconSize.width - 8.0
|
||||
}
|
||||
}
|
||||
let rightInset: CGFloat = 16.0
|
||||
var contentHeight: CGFloat = 20.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user