We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57f8628 + 6ca2a45 commit 89978a7Copy full SHA for 89978a7
mobile/multitouch_cubes/GestureArea.gd
@@ -78,12 +78,8 @@ func _gui_input(event):
78
if not event.pressed and base_state.has(event.index):
79
# Some known touching finger released.
80
81
- # Remove released finger from the base state.
82
- base_state.erase(event.index)
83
- # Reset the base state to the now only toyching finger.
84
- base_state = {
85
- curr_state.keys()[0]: curr_state.values()[0],
86
- }
+ # Clear the base state
+ base_state.clear()
87
88
elif event is InputEventScreenDrag:
89
if curr_state.has(event.index):
0 commit comments