Description
Is this a bug in companion itself or a module?
- I believe this to be a bug in companion
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Recently, feedback callbacks started tracking variable changes, and using the new context
parameter in the callback, you can use context.parseVariablesInString()
with great results!
Even more recently, action callbacks and subscriptions added the context
parameter to allow the same functionality. However, for this to work, the subscription needs to be called whenever a variable used changes, as it does with the feedback callback.
Steps To Reproduce
Create an action with a subscription
Use a variable for a parameter of the action
Subscribe gets called once when the action is created or a non-variable parameter is changed
Change the variable's value
Action.subscribe is not called
Expected Behavior
Just like feedback.callback()
, action.subscribe()
needs to be called whenever a variable used in an action parameter's value changes.
Environment (please complete the following information)
- OS:
- Browser:
- Companion Version: 3.0.0+5764-beta
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status