From 2ffa9993e3ecba1866e355fe5cf51c27ca947342 Mon Sep 17 00:00:00 2001 From: Joseph Madamba Date: Thu, 20 Jul 2023 15:31:02 -0700 Subject: [PATCH] Fix cursor changing to a hand when a meter has a mouse wheel action (#346) --- Library/Mouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Mouse.cpp b/Library/Mouse.cpp index 2ffcb537b..c873c1e11 100644 --- a/Library/Mouse.cpp +++ b/Library/Mouse.cpp @@ -162,7 +162,7 @@ HCURSOR Mouse::GetCursor(bool isButton) const { // Disabled non-button mouse actions should use the default "arrow" pointer bool getCursor = false; - for (size_t i = 0; i < (MOUSEACTION_COUNT - 2); ++i) // Do not process Over/Leave + for (size_t i = 0; i < (MOUSEACTION_COUNT - 6); ++i) // Do not process mouse wheel and Over/Leave { if (m_MouseActions[i].state == MOUSEACTION_ENABLED && !m_MouseActions[i].action.empty())