mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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…
x
Reference in New Issue
Block a user