1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #9627 from Noshyaar/dialog

AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
This commit is contained in:
Rémi Verschelde
2017-07-13 11:51:46 +02:00
committed by GitHub

View File

@@ -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();