Skip to content

Commit

Permalink
Merge pull request MonoGame#908 from renaudbedard/mouse-wheel-opeq
Browse files Browse the repository at this point in the history
Added mouse wheel turns to == operator overload
  • Loading branch information
tomspilman committed Oct 26, 2012
2 parents 0ee113a + 0285b0a commit 726427f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MonoGame.Framework/Input/MouseState.cs
Expand Up @@ -73,7 +73,8 @@ public struct MouseState
left._y == right._y &&
left._leftButton == right._leftButton &&
left._middleButton == right._middleButton &&
left._rightButton == right._rightButton;
left._rightButton == right._rightButton &&
left._scrollWheelValue == right._scrollWheelValue;
}

public static bool operator !=(MouseState left, MouseState right)
Expand Down

0 comments on commit 726427f

Please sign in to comment.