mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Disable resharper inspections on case-by-case basis
This commit is contained in:
@ -33,6 +33,7 @@ namespace osu.Game.Graphics.Cursor
|
||||
|
||||
// don't start rotating until we're moved a minimum distance away from the mouse down location,
|
||||
// else it can have an annoying effect.
|
||||
// ReSharper disable once PossibleInvalidOperationException
|
||||
startRotation |= Vector2Extensions.Distance(state.Mouse.Position, state.Mouse.PositionMouseDown.Value) > 30;
|
||||
|
||||
if (startRotation)
|
||||
|
Reference in New Issue
Block a user