mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix incorrect abs.
This commit is contained in:
parent
125936bad0
commit
8f75032b64
@ -54,7 +54,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
if (!state.Mouse.HasMainButtonPressed)
|
||||
{
|
||||
((Cursor)ActiveCursor).AdditiveLayer.FadeOut(500, EasingTypes.OutQuint);
|
||||
ActiveCursor.RotateTo(0, 600 * Math.Abs(ActiveCursor.Rotation / 720 + 1), EasingTypes.OutElasticHalf);
|
||||
ActiveCursor.RotateTo(0, 600 * (1 + Math.Abs(ActiveCursor.Rotation / 720)), EasingTypes.OutElasticHalf);
|
||||
ActiveCursor.ScaleTo(1, 500, EasingTypes.OutElastic);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user