mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Disable resharper inspections on case-by-case basis
This commit is contained in:
@ -128,6 +128,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
{
|
||||
Trace.Assert(lastPosition.HasValue);
|
||||
|
||||
// ReSharper disable once PossibleInvalidOperationException
|
||||
Vector2 pos1 = lastPosition.Value;
|
||||
Vector2 diff = pos2 - pos1;
|
||||
float distance = diff.Length;
|
||||
|
Reference in New Issue
Block a user