Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions InputManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func _handle_screen_touch(event : InputEventScreenTouch) -> void:
return

raw_gesture_data._update_screen_touch(event)
_emit("raw_gesture", raw_gesture_data)
_emit("raw_gesture", raw_gesture_data.duplicate())
var index : int = event.index
if event.pressed:
if raw_gesture_data.size() == 1: # First and only touch
Expand Down Expand Up @@ -209,7 +209,7 @@ func _handle_screen_drag(event : InputEventScreenDrag) -> void:
return

raw_gesture_data._update_screen_drag(event)
_emit("raw_gesture", raw_gesture_data)
_emit("raw_gesture", raw_gesture_data.duplicate())
if raw_gesture_data.drags.size() > 1:
_cancel_single_drag()
var gesture : int = _identify_gesture(raw_gesture_data)
Expand Down