mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Call PopupMenu min. size calculations after about_to_popup signal processing.
This commit is contained in:
parent
1bbfe637c6
commit
12d957e737
4 changed files with 18 additions and 11 deletions
|
|
@ -257,6 +257,7 @@ private:
|
|||
static int root_layout_direction;
|
||||
|
||||
protected:
|
||||
virtual void _pre_popup() {} // Called after "about_to_popup", but before window is shown.
|
||||
virtual Rect2i _popup_adjust_rect() const { return Rect2i(); }
|
||||
virtual void _post_popup() {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue