Explorar o código

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

Webster Sheets %!s(int64=7) %!d(string=hai) anos
pai
achega
1198662b2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scene/main/viewport.cpp

+ 1 - 1
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