mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-21 19:45:55 +00:00
Fix null comparison.
This commit is contained in:
parent
ce8d429336
commit
ce4b9c94f2
|
@ -269,7 +269,7 @@ func _input(event):
|
|||
touch_position = event.position
|
||||
touch_start_time = OS.get_ticks_msec()
|
||||
touch_stop_time = null
|
||||
else:
|
||||
elif touch_position:
|
||||
touch_index = null
|
||||
var relative = event.position - touch_position
|
||||
if relative.length() < min_swipe_distance:
|
||||
|
|
Loading…
Reference in New Issue
Block a user