mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Simplify negative equality expression
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user