mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09: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