From 5a6f5a870ef636b4fec71e5615fd119bda701db5 Mon Sep 17 00:00:00 2001 From: Andy Korth Date: Thu, 3 Jan 2013 10:07:50 -0600 Subject: [PATCH] Test for basic mouse input --- Source/Examples/OpenTK/Test/BasicMouseInput.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Examples/OpenTK/Test/BasicMouseInput.cs b/Source/Examples/OpenTK/Test/BasicMouseInput.cs index 09b72379..c106782e 100644 --- a/Source/Examples/OpenTK/Test/BasicMouseInput.cs +++ b/Source/Examples/OpenTK/Test/BasicMouseInput.cs @@ -31,8 +31,10 @@ namespace Examples.Tests protected override void OnLoad(EventArgs e) { base.OnLoad(e); - - this.Mouse.ButtonUp += (object sender, MouseButtonEventArgs buttonEvent) => Console.WriteLine("Mouse button up: " + buttonEvent.Button + " at: " + buttonEvent.Position); + + this.Mouse.ButtonUp += (object sender, MouseButtonEventArgs buttonEvent) => { + Console.WriteLine("Mouse button up: " + buttonEvent.Button + " at: " + buttonEvent.Position); + }; GL.ClearColor(Color.MidnightBlue); GL.Enable(EnableCap.DepthTest);