Skip to content

Commit

Permalink
Partially revert stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
X9VoiD committed Nov 30, 2022
1 parent b33188a commit 37f0471
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/OutputMode/WindowsInk/Pointer/WinInkRelativePointer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ public WinInkRelativePointer(TabletReference tabletReference, IVirtualScreen scr

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

_currentPoint = Vector2.Clamp(_currentPoint + delta, Vector2.Zero, _maxPoint);

SetInternalPosition(_currentPoint);
Expand Down

0 comments on commit 37f0471

Please sign in to comment.