remote: fix /TABS and don't make panel send osc (#414)
This commit is contained in:
parent
da1212f37e
commit
21d7a738ab
2 changed files with 6 additions and 4 deletions
|
|
@ -3,7 +3,8 @@
|
|||
## 0.39.2
|
||||
|
||||
- bug fixes
|
||||
- regression breaking tabs color property
|
||||
- broken tabs color property
|
||||
- broken `/TABS` command; this command doesn't makes panels send osc messages anymore
|
||||
|
||||
## 0.39.1
|
||||
|
||||
|
|
|
|||
|
|
@ -182,9 +182,10 @@ var callbacks = {
|
|||
for (let id of args) {
|
||||
let ws = widgetManager.getWidgetById(id)
|
||||
for (let w of ws) {
|
||||
DOM.each(document, `.tablink[data-widget="${w.hash}"]`, (el)=>{
|
||||
DOM.dispatchEvent(el, 'fast-click', {})
|
||||
})
|
||||
if (w.getProp('type') === 'tab') {
|
||||
var index = w.parent.children.indexOf(w)
|
||||
w.parent.setValue(index, {sync: true, send: false})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue