diff --git a/osu.Game/Graphics/Containers/WaveContainer.cs b/osu.Game/Graphics/Containers/WaveContainer.cs index 0b1d44ccba..09d1f7e9a4 100644 --- a/osu.Game/Graphics/Containers/WaveContainer.cs +++ b/osu.Game/Graphics/Containers/WaveContainer.cs @@ -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 { diff --git a/osu.Game/Graphics/UserInterfaceV2/OsuPopover.cs b/osu.Game/Graphics/UserInterfaceV2/OsuPopover.cs index 551468beb9..9b4689958c 100644 --- a/osu.Game/Graphics/UserInterfaceV2/OsuPopover.cs +++ b/osu.Game/Graphics/UserInterfaceV2/OsuPopover.cs @@ -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)