We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6a16b commit 02aa6cdCopy full SHA for 02aa6cd
BubbleControl-Swift/BubbleControl.swift
@@ -512,18 +512,17 @@ class BubbleControl: UIControl {
512
513
func longPressHandler (press: UILongPressGestureRecognizer) {
514
515
+ if toggle {
516
+ return
517
+ }
518
+
519
switch press.state {
520
case .Began:
521
pop()
- if toggle {
- toggle = !toggle
- }
-
522
case .Ended:
523
if bubbleState == .Pop {
524
cancelPop()
525
}
526
527
default:
528
return
529
0 commit comments