Hello,
I am playing with modifierKeysChanged() method in my PluginEditor, and I am trying to make the PluginEditor component consume all modifier keys when the plugin is in focus. This works when the mouse is over an area not occupied by a sub-component such as a slider. But when the mouse is over a slider, the slider consumes the modifier key (reasonable behavior to be sure!)
What would be the appropriate way to set the PluginEditor component to consume any modifier keys, even when the mouse is over a component within the PluginEditor?
I’ve tried to use the setWantsKeyboardFocus() method (false for slider, true for editor component), but haven’t had luck – would very much appreciate a nudge in the right direction. Thanks!