mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
typo
This commit is contained in:
@ -47,7 +47,7 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
// else it can have an annoying effect.
|
// else it can have an annoying effect.
|
||||||
if (dragRotationState == DragRotationState.DragStarted && distance > 30)
|
if (dragRotationState == DragRotationState.DragStarted && distance > 30)
|
||||||
dragRotationState = DragRotationState.Rotating;
|
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)
|
if (dragRotationState == DragRotationState.Rotating && distance > 0)
|
||||||
{
|
{
|
||||||
Vector2 offset = state.Mouse.Position - positionMouseDown;
|
Vector2 offset = state.Mouse.Position - positionMouseDown;
|
||||||
|
Reference in New Issue
Block a user