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
|
|
@ -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