diff options
author | Webster Sheets <webster@web-eworks.com> | 2018-05-24 16:10:25 -0400 |
---|---|---|
committer | Webster Sheets <webster@web-eworks.com> | 2018-05-24 16:10:25 -0400 |
commit | 1198662b2b8aa7458f9d8d3afe66085fdfc0d113 (patch) | |
tree | e3acdc4e0d29a7f6dc83e689c0f5f672564b958c | |
parent | aee8d262528497298a50ff2b25eefd8dce18c033 (diff) |
Revert #14753, as it is buggy and no longer necessary.
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index f631fd6f3a..ca9be9823a 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1562,7 +1562,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> 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 |