mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
Fix context menu action selection
This commit is contained in:
parent
c5693f06b3
commit
d36238b687
@ -308,11 +308,11 @@ private final class ContextControllerNode: ViewControllerTracingNode, UIScrollVi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gesture.externalEnded = { [weak self, weak recognizer] viewAndPoint in
|
gesture.externalEnded = { [weak self, weak gesture] viewAndPoint in
|
||||||
guard let strongSelf = self, let recognizer = recognizer else {
|
guard let strongSelf = self, let gesture = gesture else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
recognizer.externalUpdated = nil
|
gesture.externalUpdated = nil
|
||||||
if strongSelf.didMoveFromInitialGesturePoint {
|
if strongSelf.didMoveFromInitialGesturePoint {
|
||||||
if let (_, _) = viewAndPoint {
|
if let (_, _) = viewAndPoint {
|
||||||
if let highlightedActionNode = strongSelf.highlightedActionNode {
|
if let highlightedActionNode = strongSelf.highlightedActionNode {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user