Update MouseEventArgs.cs
authorxThaWolfx <xThaWolfx@users.noreply.github.com>
Mon, 13 Oct 2014 15:58:47 +0000 (17:58 +0200)
committerxThaWolfx <xThaWolfx@users.noreply.github.com>
Mon, 13 Oct 2014 15:58:47 +0000 (17:58 +0200)
The IsPressed field was never updated as the pressed parameter was never used.

Source/OpenTK/Input/MouseEventArgs.cs

index a5829e9..a8a9137 100644 (file)
@@ -252,6 +252,7 @@ namespace OpenTK.Input
             : base(x, y)
         {
             this.button = button;
+            this.IsPressed = pressed;
         }
 
         /// <summary>