From 793a205ae13e3496b1d686e9c4ea4fe8dd820ec0 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. (cherry picked from commit 1198662b2b8aa7458f9d8d3afe66085fdfc0d113) --- 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 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