mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
run stateChanged upon unhiding of GameplayScreen
This commit is contained in:
parent
5a568eacb6
commit
7813a3162b
@ -234,17 +234,17 @@ namespace osu.Game.Tournament.Screens.Gameplay
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
if (scheduledOperation != null)
|
||||
{
|
||||
scheduledOperation.Cancel();
|
||||
|
||||
if (State.Value == TourneyState.Ranking)
|
||||
contract();
|
||||
}
|
||||
scheduledOperation?.Cancel();
|
||||
|
||||
base.Hide();
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
stateChanged(new ValueChangedEvent<TourneyState>(TourneyState.Idle, State.Value));
|
||||
base.Show();
|
||||
}
|
||||
|
||||
private partial class ChromaArea : CompositeDrawable
|
||||
{
|
||||
[Resolved]
|
||||
|
Loading…
Reference in New Issue
Block a user