2
0
Эх сурвалжийг харах

Clears button mask before activating menu item

Haoyu Qiu 5 жил өмнө
parent
commit
e539b187a5

+ 1 - 0
scene/gui/popup_menu.cpp

@@ -309,6 +309,7 @@ void PopupMenu::_gui_input(const Ref<InputEvent> &p_event) {
 
 					bool was_during_grabbed_click = during_grabbed_click;
 					during_grabbed_click = false;
+					initial_button_mask = 0;
 
 					int over = _get_mouse_over(b->get_position());