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:
commit
8d7a250c6e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user