I’m wondering if anyone can help me out here…
I have a Component (let’s call it the Parent) which contains a Drawable that is transform scaled to the same size as it, basically creating an object that can hold a scalable Image or SVG. The Parent has a MouseListener registered, with wantsEventsForAllNestedChildComponents=true. So, I now have a convenient proxy object that won’t go away when I switch out the underlying Drawable.
The problem is that I can trigger the mouseDown and mouseDrag methods on my listener class, but not the mouseUp. Doing this on a Label instead of a Component (also with a separate MouseListener) works as expected.
I haven’t seen this issue before in the Forums. Any ideas on what I could do to fix this, or if it’s a Juce bug (which I doubt)?