Revert #14753, as it is buggy and no longer necessary.

This commit is contained in:
Webster Sheets 2018-05-24 16:10:25 -04:00
parent aee8d26252
commit 1198662b2b
1 changed files with 1 additions and 1 deletions

View File

@ -1562,7 +1562,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
if (mb->is_pressed()) { if (mb->is_pressed()) {
Size2 pos = mpos; 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 //do not steal mouse focus and stuff