Get rid of raw AddDelay calls within osu.Game

This commit is contained in:
Thomas Müller
2017-07-17 16:51:21 +03:00
parent 19fb03e737
commit 87bcd526f3
19 changed files with 67 additions and 96 deletions

View File

@ -99,8 +99,7 @@ namespace osu.Game.Graphics.UserInterface
colourContainer.ResizeTo(new Vector2(1.5f, 1f), click_duration, EasingTypes.In);
flash();
AddDelay(click_duration);
Schedule(delegate {
this.Delay(click_duration).Schedule(delegate {
colourContainer.ResizeTo(new Vector2(0.8f, 1f));
spriteText.Spacing = Vector2.Zero;
glowContainer.FadeOut();