mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
apply different offset based on whether the marker is newStyle or not
This commit is contained in:
parent
490fbd1dd8
commit
7b0e387dfc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user