Fixed bug #776 (Incorrect XDelta and YDelta values...)

This commit is contained in:
the_fiddler 2009-04-04 23:05:53 +00:00
parent ee5a7dac1f
commit c189bf7e75

View file

@ -197,9 +197,8 @@ namespace OpenTK.Input
set set
{ {
pos = value; pos = value;
last_pos = pos;
Move(this, new MouseMoveEventArgs(pos.X, pos.Y, pos.X - last_pos.X, pos.Y - last_pos.Y)); Move(this, new MouseMoveEventArgs(pos.X, pos.Y, pos.X - last_pos.X, pos.Y - last_pos.Y));
last_pos = pos;
} }
} }