Replace several usages of BeginDelayedSequence with LINQ-style

This commit is contained in:
Thomas Müller
2017-07-16 17:37:59 +03:00
parent 71105bb9ee
commit 99221260c4
19 changed files with 70 additions and 127 deletions

View File

@ -86,11 +86,7 @@ namespace osu.Game.Graphics.Cursor
this.FadeIn(500, EasingTypes.OutQuint);
}
protected override void PopOut()
{
using (BeginDelayedSequence(150))
this.FadeOut(500, EasingTypes.OutQuint);
}
protected override void PopOut() => this.Delay(150).FadeOut(500, EasingTypes.OutQuint);
public override void Move(Vector2 pos)
{