From 1198662b2b8aa7458f9d8d3afe66085fdfc0d113 Mon Sep 17 00:00:00 2001 From: Webster Sheets Date: Thu, 24 May 2018 16:10:25 -0400 Subject: [PATCH] Revert #14753, as it is buggy and no longer necessary. --- scene/main/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index f631fd6f3a5..ca9be9823a6 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1562,7 +1562,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