mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 09:50:13 +08:00
Get rid of raw AddDelay calls within osu.Game
This commit is contained in:
@@ -106,8 +106,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
|
||||
private void schedulePopOut()
|
||||
{
|
||||
popOutDelegate?.Cancel();
|
||||
AddDelay(1000);
|
||||
popOutDelegate = Schedule(Hide);
|
||||
this.Delay(1000).Schedule(Hide, out popOutDelegate);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user