Relative pointer motion should use the relative (Delta) query functions.
This commit is contained in:
parent
a7ca0921df
commit
ee69d2354f
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ namespace OpenTK.Platform.Linux
|
|||
|
||||
void HandlePointerMotion(MouseDevice mouse, PointerEvent e)
|
||||
{
|
||||
Vector2 delta = new Vector2((float)e.X, (float)e.Y);
|
||||
Vector2 delta = new Vector2((float)e.DeltaX, (float)e.DeltaY);
|
||||
if (mouse != null)
|
||||
{
|
||||
mouse.State.SetIsConnected(true);
|
||||
|
|
Loading…
Reference in a new issue