mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
Add mod select overlay statics
This commit is contained in:
parent
659a042065
commit
9224486ec7
@ -103,6 +103,8 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
private readonly BindableBool customisationVisible = new BindableBool();
|
||||
|
||||
protected readonly ModSelectOverlayStatics statics = new ModSelectOverlayStatics();
|
||||
|
||||
private ModSettingsArea modSettingsArea = null!;
|
||||
private ColumnScrollContainer columnScroll = null!;
|
||||
private ColumnFlowContainer columnFlow = null!;
|
||||
|
20
osu.Game/Overlays/Mods/ModSelectOverlayStatics.cs
Normal file
20
osu.Game/Overlays/Mods/ModSelectOverlayStatics.cs
Normal file
@ -0,0 +1,20 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Game.Configuration;
|
||||
|
||||
namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
public class ModSelectOverlayStatics : InMemoryConfigManager<Static>
|
||||
{
|
||||
protected override void InitialiseDefaults()
|
||||
{
|
||||
SetDefault(Static.LastModSelectPanelSoundPlaybackTime, (double?)null);
|
||||
}
|
||||
}
|
||||
|
||||
public enum Static
|
||||
{
|
||||
LastModSelectPanelSoundPlaybackTime
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user