1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +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
commit 8d7a250c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,8 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
while (Math.Abs(aimRotation - Arrow.Rotation) > 180) while (Math.Abs(aimRotation - Arrow.Rotation) > 180)
aimRotation += aimRotation < Arrow.Rotation ? 360 : -360; 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; Arrow.Rotation = aimRotation;
hasRotation = true; hasRotation = true;