Skip to content

Commit

Permalink
Fix cursor changing to a hand when a meter has a mouse wheel action (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
Joehuu authored Jul 20, 2023
1 parent f2c914b commit 2ffa999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 2ffa999

Please sign in to comment.