minor fixes
This commit is contained in:
1 parent
0728e999eb
commit
d0b45a019f
1 file changed
+3
-3
@@ -222,11 +222,11 @@ import UIKit
|
||||
eventType = UInt8(manualHoverFlag ? LI_TOUCH_EVENT_HOVER : LI_TOUCH_EVENT_MOVE)
|
||||
targetForce = moveEventIndex < initialMoveEventIndexLimit ? touchBeganForce : targetForce
|
||||
case .ended:
|
||||
eventType = UInt8(LI_TOUCH_EVENT_UP)
|
||||
eventType = UInt8(manualHoverFlag ? LI_TOUCH_EVENT_HOVER_LEAVE : LI_TOUCH_EVENT_UP)
|
||||
case .cancelled:
|
||||
eventType = UInt8(LI_TOUCH_EVENT_UP)
|
||||
eventType = UInt8(manualHoverFlag ? LI_TOUCH_EVENT_HOVER_LEAVE : LI_TOUCH_EVENT_UP)
|
||||
default:
|
||||
eventType = UInt8(LI_TOUCH_EVENT_MOVE)
|
||||
eventType = UInt8(LI_TOUCH_EVENT_HOVER)
|
||||
}
|
||||
|
||||
delay = manualTick ? 0.0086 : 0.0086
|
||||
|
||||
Reference in new issue
Block a user