mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Fix touch move and end not responding (#4137)
This commit is contained in:
@@ -140,7 +140,7 @@ export class SystemEvent extends EventTarget {
|
||||
event: EventListener.TOUCH_ONE_BY_ONE,
|
||||
onTouchBegan (event) {
|
||||
event.type = EventType.TOUCH_START;
|
||||
cc.systemEvent.dispatchEvent(event);
|
||||
return cc.systemEvent.dispatchEvent(event);
|
||||
},
|
||||
onTouchMoved (event) {
|
||||
event.type = EventType.TOUCH_MOVE;
|
||||
|
||||
Reference in New Issue
Block a user