mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -912,10 +912,17 @@ final class ContextControllerActionsStackNode: ASDisplayNode {
|
||||
}
|
||||
|
||||
func highlightGestureMoved(location: CGPoint) {
|
||||
if let tipNode = self.tipNode {
|
||||
let tipLocation = self.view.convert(location, to: tipNode.view)
|
||||
tipNode.highlightGestureMoved(location: tipLocation)
|
||||
}
|
||||
self.node.highlightGestureMoved(location: self.view.convert(location, to: self.node.view))
|
||||
}
|
||||
|
||||
func highlightGestureFinished(performAction: Bool) {
|
||||
if let tipNode = self.tipNode {
|
||||
tipNode.highlightGestureFinished(performAction: performAction)
|
||||
}
|
||||
self.node.highlightGestureFinished(performAction: performAction)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user