mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
This commit is contained in:
parent
f55fff3528
commit
b5b4abb56d
@ -357,6 +357,9 @@ void AcceptDialog::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_MODAL_CLOSE) {
|
||||
|
||||
cancel_pressed();
|
||||
} else if (p_what == NOTIFICATION_READY) {
|
||||
|
||||
_update_child_rects();
|
||||
} else if (p_what == NOTIFICATION_RESIZED) {
|
||||
|
||||
_update_child_rects();
|
||||
|
Loading…
Reference in New Issue
Block a user