mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Toolbar stores its current state locally (just for conformity).
This commit is contained in:
parent
3067c890ce
commit
adba72d293
@ -25,8 +25,12 @@ namespace osu.Game.Overlays
|
||||
|
||||
private ToolbarModeSelector modeSelector;
|
||||
|
||||
public ToolbarState State { get; private set; }
|
||||
|
||||
public void SetState(ToolbarState state, bool instant = false)
|
||||
{
|
||||
State = state;
|
||||
|
||||
int time = instant ? 0 : 200;
|
||||
|
||||
switch (state)
|
||||
|
Loading…
Reference in New Issue
Block a user