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