1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Add a mention of why StartHidden is required

This commit is contained in:
Dean Herbert 2021-05-28 14:41:01 +09:00
parent f1b5aced6f
commit 330d61862d

View File

@ -95,6 +95,8 @@ namespace osu.Game.Overlays.Dialog
} }
} }
// We always want dialogs to show their appear animation, so we request they start hidden.
// Normally this would not be required, but is here due to the manual Show() call that occurs before LoadComplete().
protected override bool StartHidden => true; protected override bool StartHidden => true;
protected PopupDialog() protected PopupDialog()