Disable resharper inspections on case-by-case basis

This commit is contained in:
smoogipoo
2017-11-20 18:55:48 +09:00
parent f0966a2e12
commit aac41d2de6
21 changed files with 46 additions and 16 deletions

View File

@ -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)