1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

apply different offset based on whether the marker is newStyle or not

This commit is contained in:
Morilli 2020-11-09 08:20:19 +01:00
parent 490fbd1dd8
commit 7b0e387dfc

View File

@ -80,7 +80,7 @@ namespace osu.Game.Skinning
Math.Clamp(Clock.ElapsedFrameTime, 0, 200),
fill.Width, (float)Current.Value * maxFillWidth, 0, 200, Easing.OutQuint);
marker.Position = fill.Position + new Vector2(fill.DrawWidth, 0);
marker.Position = fill.Position + new Vector2(fill.DrawWidth, isNewStyle ? fill.DrawHeight / 2 : 0);
}
public void Flash(JudgementResult result) => marker.Flash(result);