Skip to content

Commit

Permalink
not trigger Drag event on Wheel event
Browse files Browse the repository at this point in the history
  • Loading branch information
U-i7\gimy committed Jul 22, 2009
1 parent ec08f9b commit 6510336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ unsigned int Engine::mouseDetour(WPARAM i_message, MSLLHOOKSTRUCT *i_mid)
m_kidq.push_back(kid2);
SetEvent(m_readEvent);
}
} else {
} else if (!(kid.Flags & WM_MOUSEWHEEL)) {
m_buttonPressed = true;
}

Expand Down

0 comments on commit 6510336

Please sign in to comment.