diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 7f82f0ca7ec..5965d711001 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1540,7 +1540,7 @@ void Viewport::_gui_input_event(Ref p_event) { if (mb->is_pressed()) { Size2 pos = mpos; - if (gui.mouse_focus && mb->get_button_index() != gui.mouse_focus_button && mb->get_button_index() == BUTTON_LEFT) { + if (gui.mouse_focus && mb->get_button_index() != gui.mouse_focus_button) { //do not steal mouse focus and stuff