1
0
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:
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 cursor is already rotating don't reset its rotate origin
if (!(dragRotationState == DragRotationState.Rotating))
if (dragRotationState != DragRotationState.Rotating)
{
dragRotationState = DragRotationState.DragStarted;
positionMouseDown = e.MousePosition;