1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:43:01 +08:00

Swtich order of the moveto and the movetooffset.

This commit is contained in:
miterosan 2018-08-05 15:14:52 +02:00
parent 876d410fa1
commit d32ffc1ebc

View File

@ -46,8 +46,9 @@ namespace osu.Game.Rulesets.Osu.Mods
using (drawable.BeginAbsoluteSequence(hitObject.StartTime - hitObject.TimeFadeIn - pre_time_offset, true)) using (drawable.BeginAbsoluteSequence(hitObject.StartTime - hitObject.TimeFadeIn - pre_time_offset, true))
{ {
drawable drawable
.MoveToOffset(new Vector2((float)Math.Cos(theta), (float)Math.Sin(theta)) * appearDistance)
.MoveTo(originalPosition, hitObject.TimeFadeIn + pre_time_offset, Easing.InOutSine); .MoveTo(originalPosition, hitObject.TimeFadeIn + pre_time_offset, Easing.InOutSine);
.MoveToOffset(new Vector2((float)Math.Cos(theta), (float)Math.Sin(theta)) * appearDistance);
} }
// That way slider ticks come all from the same direction. // That way slider ticks come all from the same direction.