Browse Source

Drop the physics mouseover whenever a input has been handled.

Fixes #29575
MrCdK 6 năm trước cách đây
mục cha
commit
1810a901d2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      scene/main/viewport.cpp

+ 1 - 0
scene/main/viewport.cpp

@@ -2905,6 +2905,7 @@ bool Viewport::gui_is_dragging() const {
 }
 
 void Viewport::set_input_as_handled() {
+	_drop_physics_mouseover();
 	if (handle_input_locally) {
 		local_input_handled = true;
 	} else {