mirror of https://github.com/ppy/osu
Fix slider repeat arrow not updating rotation immediately while paused in editor
A bit of a local solution, but not sure there's a better way to handle this. Closes #13342.
This commit is contained in:
parent
a17bbe8393
commit
277eb9fa6e
|
@ -152,7 +152,8 @@ public void UpdateSnakingPosition(Vector2 start, Vector2 end)
|
|||
while (Math.Abs(aimRotation - Arrow.Rotation) > 180)
|
||||
aimRotation += aimRotation < Arrow.Rotation ? 360 : -360;
|
||||
|
||||
if (!hasRotation)
|
||||
// The clock may be paused in a scenario like the editor.
|
||||
if (!hasRotation || !Clock.IsRunning)
|
||||
{
|
||||
Arrow.Rotation = aimRotation;
|
||||
hasRotation = true;
|
||||
|
|
Loading…
Reference in New Issue