Simplify negative equality expression

This commit is contained in:
Power Maker
2020-06-03 21:42:23 +02:00
parent ff220b2ebe
commit 939a76b08f

View File

@ -86,7 +86,7 @@ namespace osu.Game.Graphics.Cursor
if (shouldRotateCursor(e) && cursorRotate.Value) if (shouldRotateCursor(e) && cursorRotate.Value)
{ {
// if cursor is already rotating don't reset its rotate origin // if cursor is already rotating don't reset its rotate origin
if (!(dragRotationState == DragRotationState.Rotating)) if (dragRotationState != DragRotationState.Rotating)
{ {
dragRotationState = DragRotationState.DragStarted; dragRotationState = DragRotationState.DragStarted;
positionMouseDown = e.MousePosition; positionMouseDown = e.MousePosition;