Skip to content

Commit

Permalink
Remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
X9VoiD committed Nov 29, 2022
1 parent 1eac3b9 commit 8b4502f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OutputMode/VMultiMode/Pointer/VMultiRelativePointer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static VMultiInstance<RelativeInputReport> createInstance()

public void SetPosition(Vector2 delta)
{
if (delta == Vector2.Zero && _prev == Vector2.Zero)
if (delta == Vector2.Zero)
return;

delta += _error;
Expand Down

0 comments on commit 8b4502f

Please sign in to comment.