We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bbb475 commit 9c29c5eCopy full SHA for 9c29c5e
addons/runtime_debug_tools/scripts/debug_runtime_interaction_2d.gd
@@ -84,13 +84,11 @@ func _do_mouse_movement(event: InputEvent):
84
if event is InputEventMouseButton:
85
get_viewport().set_input_as_handled()
86
match event.button_index:
87
- MOUSE_BUTTON_MIDDLE:
+ MOUSE_BUTTON_RIGHT, MOUSE_BUTTON_MIDDLE:
88
if event.pressed:
89
new_mouse_mode = MouseMode.PAN
90
- print("pan")
91
else:
92
new_mouse_mode = MouseMode.NONE
93
- print("stop")
94
MOUSE_BUTTON_WHEEL_UP:
95
mouse_zoom *= 1.1
96
MOUSE_BUTTON_WHEEL_DOWN:
0 commit comments