Various fixes

This commit is contained in:
Ilya Laktyushin
2022-07-24 01:09:15 +03:00
parent 3d0f297554
commit 68f93cc748
3 changed files with 60 additions and 8 deletions

View File

@@ -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)
}
}