mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 01:18:39 +00:00
* fix for longAction
This commit is contained in:
parent
cf5d8bf546
commit
55dc551516
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user