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