1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 07:09:53 +08:00

Replace several usages of BeginDelayedSequence with LINQ-style

This commit is contained in:
Thomas Müller
2017-07-16 17:37:59 +03:00
Unverified
parent 71105bb9ee
commit 99221260c4
19 changed files with 70 additions and 127 deletions
@@ -245,9 +245,8 @@ namespace osu.Game.Graphics.UserInterface
if (beatIndex < 0) return;
icon.ScaleTo(1 - 0.1f * amplitudeAdjust, beat_in_time, EasingTypes.Out);
using (icon.BeginDelayedSequence(beat_in_time))
icon.ScaleTo(1, beatLength * 2, EasingTypes.OutQuint);
icon.ScaleTo(1 - 0.1f * amplitudeAdjust, beat_in_time, EasingTypes.Out)
.Then().ScaleTo(1, beatLength * 2, EasingTypes.OutQuint);
}
}
}