mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Revert #14753, as it is buggy and no longer necessary.
(cherry picked from commit 1198662b2b)
This commit is contained in:
committed by
Rémi Verschelde
parent
a5a9d887da
commit
793a205ae1
@@ -1540,7 +1540,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user