From 3b73090f79fe0e7afdeed7889126e43753edf899 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Sun, 5 May 2024 16:45:12 +0300 Subject: [PATCH] Fix error in the mouse button enum. --- Quik/Mouse.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Quik/Mouse.cs b/Quik/Mouse.cs index b1f5871..c3c0865 100644 --- a/Quik/Mouse.cs +++ b/Quik/Mouse.cs @@ -2,7 +2,7 @@ using System; namespace Quik { - public enum MouseButton + public enum MouseButton : byte { Primary = 1 << 0, Secondary = 1 << 1, @@ -11,7 +11,7 @@ namespace Quik Auxilliary2 = 1 << 4, Auxilliary3 = 1 << 5, Auxilliary4 = 1 << 6, - Auxilliary5 = 1 << 8, + Auxilliary5 = 1 << 7, } public struct MouseState