File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
blocks/utilities/drag_drop_area Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ func _on_replace_block_code_button_pressed():
364
364
replace_block_code .emit ()
365
365
366
366
367
- func _input (event ):
367
+ func _gui_input (event ):
368
368
if event is InputEventKey :
369
369
if event .keycode == KEY_SHIFT :
370
370
set_mouse_override (event .pressed )
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ func _gui_input(event: InputEvent) -> void:
44
44
45
45
func _input (event : InputEvent ) -> void :
46
46
# Watch for mouse movements using _input. This way, we receive mouse
47
- # movement events that occur outside of the component.
47
+ # motion events that occur outside of the component before the GUI system
48
+ # does.
48
49
49
50
if not event is InputEventMouseMotion :
50
51
return
You can’t perform that action at this time.
0 commit comments