This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Fixed bug where ListBox mouse listener wasn't being removed when ListBoxMouseMoveSelector was destroyed
tags/2021-05-28
ed
9 years ago
parent
d0b628f0a6
commit
fbda56f168
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
modules/juce_gui_basics/widgets/juce_ListBox.cpp
+ 5
- 0
modules/juce_gui_basics/widgets/juce_ListBox.cpp
View File
@@ -346,6 +346,11 @@ public:
owner.addMouseListener (this, true);
}
~ListBoxMouseMoveSelector()
{
owner.removeMouseListener (this);
}
void mouseMove (const MouseEvent& e) override
{
const MouseEvent e2 (e.getEventRelativeTo (&owner));
Write
Preview
Loading…
Cancel
Save