mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-10-29 17:58:35 +00:00
* fix for longAction
This commit is contained in:
@@ -72,10 +72,10 @@ class CustomButtonTouchBarItem: NSCustomTouchBarItem, NSGestureRecognizerDelegat
|
||||
case .began:
|
||||
if self.longTapClosure != nil {
|
||||
hf.tap(strong: 2)
|
||||
self.tapClosure()
|
||||
self.longTapClosure()
|
||||
} else {
|
||||
hf.tap(strong: 6)
|
||||
self.longTapClosure()
|
||||
self.tapClosure()
|
||||
print("long click")
|
||||
}
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user