mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel.
This commit is contained in:
parent
b974203d0f
commit
2676bb02f2
42 changed files with 1815 additions and 1867 deletions
|
|
@ -1312,7 +1312,7 @@ private:
|
|||
{
|
||||
updateKeyModifiers();
|
||||
|
||||
const float amount = jlimit (-1000.0f, 1000.0f, 0.75f * HIWORD (wParam));
|
||||
const float amount = jlimit (-1000.0f, 1000.0f, 0.75f * (short) HIWORD (wParam));
|
||||
|
||||
handleMouseWheel (0, position, getMouseEventTime(),
|
||||
isVertical ? 0.0f : amount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue