1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

fix auto advance screens sometimes not working

This commit is contained in:
Dao Heng Liu 2023-07-22 23:08:20 +01:00
parent c77d3cd6bd
commit 647f2b6715
No known key found for this signature in database
GPG Key ID: 76B315615CDDAFDE
2 changed files with 12 additions and 0 deletions

View File

@ -232,6 +232,12 @@ namespace osu.Game.Tournament.Screens.Gameplay
}
}
public override void Hide()
{
scheduledOperation?.Cancel();
base.Hide();
}
private partial class ChromaArea : CompositeDrawable
{
[Resolved]

View File

@ -222,6 +222,12 @@ namespace osu.Game.Tournament.Screens.MapPool
}
}
public override void Hide()
{
scheduledChange?.Cancel();
base.Hide();
}
protected override void CurrentMatchChanged(ValueChangedEvent<TournamentMatch> match)
{
base.CurrentMatchChanged(match);