diff options
| author | Rémi Verschelde | 2018-05-25 12:52:14 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-25 12:52:14 +0200 |
| commit | 37cda5795961c6eeca456aa38adb40a06cac5084 (patch) | |
| tree | c2ff11df83c0c477d270c949d28d408fe40467b3 | |
| parent | 121eaddf118045ebc044e26fa0f65df6b8e06ef7 (diff) | |
| parent | 1198662b2b8aa7458f9d8d3afe66085fdfc0d113 (diff) | |
| download | godot-37cda5795961c6eeca456aa38adb40a06cac5084.tar.gz godot-37cda5795961c6eeca456aa38adb40a06cac5084.tar.zst godot-37cda5795961c6eeca456aa38adb40a06cac5084.zip | |
| -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 f631fd6f3..ca9be9823 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 |
