change navigation mouse button to right

This commit is contained in:
2024-10-06 02:56:30 +10:00
parent 2fbce7a2b1
commit 7a95f57afb

View File

@@ -28,7 +28,7 @@ func _input(event: InputEvent) -> void:
if event is InputEventMouseButton and selected:
var button_event := event as InputEventMouseButton
if (
button_event.button_index == MOUSE_BUTTON_LEFT
button_event.button_index == MOUSE_BUTTON_RIGHT
and button_event.pressed
):
_set_target_click(button_event.position)