1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix MenuButton not emitting about_to_popup signal

This commit is contained in:
Haoyu Qiu
2021-08-16 20:53:10 +08:00
parent 1ee61a501f
commit 6ca476b406

View File

@@ -86,6 +86,7 @@ void MenuButton::_popup_visibility_changed(bool p_visible) {
}
void MenuButton::pressed() {
emit_signal(SNAME("about_to_popup"));
Size2 size = get_size();
Point2 gp = get_screen_position();