mirror of https://github.com/ppy/osu
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 @@ protected override void Update()
|
||||||
Math.Clamp(Clock.ElapsedFrameTime, 0, 200),
|
Math.Clamp(Clock.ElapsedFrameTime, 0, 200),
|
||||||
fill.Width, (float)Current.Value * maxFillWidth, 0, 200, Easing.OutQuint);
|
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);
|
public void Flash(JudgementResult result) => marker.Flash(result);
|
||||||
|
|
Loading…
Reference in New Issue