Skip to content

Conversation

smskin
Copy link

@smskin smskin commented Jan 12, 2022

If you place the button in the Nova panel, the "actionExecuted" event will not be triggered when you click on it.

This is due to the fact that the action selector component is being searched in the current panel. If it is not there, then it is impossible to send an event.

I corrected the following logic:

  • Looking for the action selector in the standard position
  • We go to the level above to search for the base layer (panels can be nested) until we find it. As we find it, we are looking for a selector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant