From c189bf7e7599dd9b6cc5109a5d33f19bb6a8b839 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 4 Apr 2009 23:05:53 +0000 Subject: [PATCH] Fixed bug #776 (Incorrect XDelta and YDelta values...) --- Source/OpenTK/Input/MouseDevice.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/OpenTK/Input/MouseDevice.cs b/Source/OpenTK/Input/MouseDevice.cs index 2033fc61..7078d524 100644 --- a/Source/OpenTK/Input/MouseDevice.cs +++ b/Source/OpenTK/Input/MouseDevice.cs @@ -197,9 +197,8 @@ namespace OpenTK.Input set { pos = value; - last_pos = pos; - Move(this, new MouseMoveEventArgs(pos.X, pos.Y, pos.X - last_pos.X, pos.Y - last_pos.Y)); + last_pos = pos; } }