mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #51731 from timothyqiu/menu-button-signal
Fix `MenuButton` not emitting `about_to_popup` signal
This commit is contained in:
commit
5d5e7418f9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user