1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 17:08:39 +00:00

* fix for longAction

This commit is contained in:
ad 2018-04-27 19:17:19 +03:00
parent cf5d8bf546
commit 55dc551516

View File

@ -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