switcher: update linked widgets' osc properties before sending if they depend on the switcher's value (#344)
This commit is contained in:
parent
d0c539b283
commit
85aa861fd2
2 changed files with 8 additions and 2 deletions
|
|
@ -4,13 +4,14 @@
|
|||
|
||||
- bug fixes
|
||||
- widgets: dynamic `address` when `split` is `true`
|
||||
- strip: missing osc properties (`address` and `preArgs`) for remote control
|
||||
- switcher: update linked widgets' osc properties before sending if they depend on the switcher's value
|
||||
|
||||
## 0.34.3
|
||||
|
||||
- bug fixes
|
||||
- launcher: regression breaking the `port` option
|
||||
- strip: missing osc properties (`address` and `preArgs`) for remote control
|
||||
|
||||
|
||||
## 0.34.2
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@ module.exports = class _switchers_base extends Widget {
|
|||
|
||||
|
||||
applyState(state, options) {
|
||||
|
||||
// extra sync routine to ensure linked widgets' props update before osc is sent
|
||||
if (options.sync) this.changed({...options, send:false, sync:false})
|
||||
//
|
||||
|
||||
for (var id in state) {
|
||||
var value = state[id],
|
||||
widgets = widgetManager.getWidgetById(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue