mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
typo
This commit is contained in:
parent
341ffa4667
commit
63746876c2
@ -47,7 +47,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
// else it can have an annoying effect.
|
||||
if (dragRotationState == DragRotationState.DragStarted && distance > 30)
|
||||
dragRotationState = DragRotationState.Rotating;
|
||||
// don't rotate when distance if zero to avoid NaN
|
||||
// don't rotate when distance is zero to avoid NaN
|
||||
if (dragRotationState == DragRotationState.Rotating && distance > 0)
|
||||
{
|
||||
Vector2 offset = state.Mouse.Position - positionMouseDown;
|
||||
|
Loading…
Reference in New Issue
Block a user