I seem to be having an issue with my plugins that I don’t remember happening in the past.
When my plugin looses focus, and then re-gains focus, it ignores the first user click (at least as an action). The plugin regains focus, refreshes the UI (and updates any switches whose states aren’t being tracked by memory blocks), but doesn’t update the target switch.
So basically, the first click seems to act as a refresh.
Is there a way for the plugin to regain focus simply be expanding the sub-palette, allowing the first click to register as an action, not a refresh?