"Relay" Mouse Event to component below [UI]
-
Greeting dear HISE community,
I'm currently building a Handpan plugin. As you can see in the image (marked with green), the pads are simple panels with overwritten paintRoutines and MouseCallbacks, so that they appear and work like ellipses. If the mouse event occurs outside the ellipse, the event is basically just discarded.
Now the plan is to have a sort of invisible knob behind the handpan, which can be dragged around.
Problem is, in the red areas, the mouse event is captured by the pad panels instead of the invisible knob behind them.
Is there a simple way to "relay" the mouse event to the next component below through the MouseCallback function? (So in this case from the pad panels to the panel below)
Thanks for the help in advance :)

-
@Gemaxos Replace the whole thing with one big panel with separate click zones, and use the drag action in place of the knob.
-
@David-Healey Well, then it gets way more tedious to adjust the position of each element. But fair, that's probably the easiest solution. Thanks :)