1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Add more detail to comment

This commit is contained in:
Jamie Taylor 2023-08-24 18:20:36 +09:00
parent 7ef5a71e91
commit f4415a5bab
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,8 @@ namespace osu.Game.Graphics.Containers
protected virtual string PopInSampleName => "UI/wave-pop-in";
protected virtual string PopOutSampleName => "UI/overlay-big-pop-out";
private bool wasShown = false;
// required due to LoadAsyncComplete() in `VisibilityContainer` calling PopOut() during load - similar workaround to `OsuDropdownMenu`
private bool wasShown;
public Color4 FirstWaveColour
{

View File

@ -28,7 +28,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
protected virtual string PopInSampleName => "UI/overlay-pop-in";
protected virtual string PopOutSampleName => "UI/overlay-pop-out";
// required due to LoadAsyncComplete() calling PopOut() during load - similar workaround to `OsuDropdownMenu`
// required due to LoadAsyncComplete() in `VisibilityContainer` calling PopOut() during load - similar workaround to `OsuDropdownMenu`
private bool wasOpened;
public OsuPopover(bool withPadding = true)