diff --git a/CHANGELOG.md b/CHANGELOG.md index 6468ebc7..976a5fc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/client/app/remote-control.js b/src/client/app/remote-control.js index 1390164c..926379a4 100644 --- a/src/client/app/remote-control.js +++ b/src/client/app/remote-control.js @@ -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}) + } } }