mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 03:23:02 +08:00
Simplify negative equality expression
This commit is contained in:
parent
ff220b2ebe
commit
939a76b08f
@ -86,7 +86,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
if (shouldRotateCursor(e) && cursorRotate.Value)
|
||||
{
|
||||
// if cursor is already rotating don't reset its rotate origin
|
||||
if (!(dragRotationState == DragRotationState.Rotating))
|
||||
if (dragRotationState != DragRotationState.Rotating)
|
||||
{
|
||||
dragRotationState = DragRotationState.DragStarted;
|
||||
positionMouseDown = e.MousePosition;
|
||||
|
Loading…
Reference in New Issue
Block a user