minor fixes

This commit is contained in:
True Zhuanjia
2026-02-27 00:08:28 +08:00
parent 0728e999eb
commit d0b45a019f
+3 -3
View File
@@ -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