1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 21:10:40 +08:00

Merge pull request #13360 from peppy/fix-slider-repeat-arrow-rotation-editor

This commit is contained in:
Bartłomiej Dach
2021-06-07 12:22:41 +02:00
committed by GitHub
Unverified
@@ -152,7 +152,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
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;