From fb4f70177e0d74e232cd8d4919bb830e1b82be58 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2017 10:33:17 +0200 Subject: [PATCH] examples: change root panels' addresses to avoid tab sync --- app/examples/ardour.js | 44 ++++++++++++++++++++++++++++++++------- app/examples/audio.js | 2 +- app/examples/plot.js | 32 +++++++++++++++------------- app/examples/swag-2000.js | 22 ++++++++++---------- app/examples/widgets.js | 2 +- 5 files changed, 67 insertions(+), 35 deletions(-) diff --git a/app/examples/ardour.js b/app/examples/ardour.js index 38ac77c0..a7054eb2 100644 --- a/app/examples/ardour.js +++ b/app/examples/ardour.js @@ -3230,7 +3230,11 @@ "color": "red", "value": "", "address": "/select/recenable", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3245,7 +3249,11 @@ "color": "lime", "value": "", "address": "/select/record_safe", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3260,7 +3268,11 @@ "on": 1, "value": "", "address": "/select/monitor_input", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3275,7 +3287,11 @@ "color": "orange", "value": "", "address": "/select/monitor_disk", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3290,7 +3306,11 @@ "color": "lime", "value": "", "address": "/select/solo", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3305,7 +3325,11 @@ "color": "yellow", "value": "", "address": "/select/mute", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" }, { "type": "toggle", @@ -3320,7 +3344,11 @@ "color": "pink", "value": "", "address": "/select/expand", - "preArgs": [] + "preArgs": [], + "left": "auto", + "top": "auto", + "width": "auto", + "height": "auto" } ], "tabs": [], @@ -4206,7 +4234,7 @@ ], "value": "", "precision": 0, - "address": "/root_1", + "address": "/ardour", "preArgs": [], "target": [], "variables": {}, diff --git a/app/examples/audio.js b/app/examples/audio.js index c70e7715..67726f1f 100644 --- a/app/examples/audio.js +++ b/app/examples/audio.js @@ -13593,7 +13593,7 @@ "css": "", "value": "", "precision": 0, - "address": "/root", + "address": "/audio", "preArgs": [], "target": [], "variables": {}, diff --git a/app/examples/plot.js b/app/examples/plot.js index eea2044b..849daf95 100644 --- a/app/examples/plot.js +++ b/app/examples/plot.js @@ -37,7 +37,8 @@ "doubleTap": false, "value": "", "touchAddress": "", - "meterAddress": "" + "meterAddress": "", + "dashed": false }, { "type": "fader", @@ -48,7 +49,7 @@ "left": "auto", "top": "auto", "width": "auto", - "height": 253, + "height": 254, "horizontal": false, "css": "", "range": { @@ -71,7 +72,8 @@ "doubleTap": false, "value": "", "touchAddress": "", - "meterAddress": "" + "meterAddress": "", + "dashed": false }, { "type": "fader", @@ -82,7 +84,7 @@ "left": "auto", "top": "auto", "width": "auto", - "height": 253, + "height": 254, "horizontal": false, "css": "", "range": { @@ -105,7 +107,8 @@ "doubleTap": false, "value": "", "touchAddress": "", - "meterAddress": "" + "meterAddress": "", + "dashed": false }, { "type": "fader", @@ -116,7 +119,7 @@ "left": "auto", "top": "auto", "width": "auto", - "height": 253, + "height": 254, "horizontal": false, "css": "", "range": { @@ -139,7 +142,8 @@ "doubleTap": false, "value": "", "touchAddress": "", - "meterAddress": "" + "meterAddress": "", + "dashed": false }, { "type": "plot", @@ -148,7 +152,7 @@ "left": 400, "top": 122, "width": 200, - "height": 131, + "height": 132, "css": "", "points": [ [ @@ -212,8 +216,7 @@ "label": "auto", "left": 0, "top": 254, - "width": "auto", - "height": "auto", + "height": 240, "css": "", "precision": 0, "split": false, @@ -222,14 +225,15 @@ "address": "/rgb_1", "preArgs": [], "value": "", - "touchAddress": "" + "touchAddress": "", + "width": 200 }, { "type": "plot", "left": 200, - "top": 253, + "top": 254, "width": 400, - "height": 251, + "height": 240, "css": "", "points": "rgb_1", "rangeX": { @@ -474,7 +478,7 @@ "css": "", "value": "", "precision": 0, - "address": "/root", + "address": "/plots", "preArgs": [], "target": [], "variables": {}, diff --git a/app/examples/swag-2000.js b/app/examples/swag-2000.js index e76b800f..2f61babb 100644 --- a/app/examples/swag-2000.js +++ b/app/examples/swag-2000.js @@ -118,7 +118,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -271,7 +271,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -424,7 +424,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -577,7 +577,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -730,7 +730,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -883,7 +883,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -1036,7 +1036,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -1092,7 +1092,6 @@ "label": "VIII", "horizontal": false, "color": "auto", - "css": "", "widgets": [ { "type": "knob", @@ -1189,7 +1188,7 @@ "unit": "", "alignRight": false, "horizontal": false, - "compact": false, + "compact": true, "color": "auto", "css": "flex:1", "snap": false, @@ -1228,6 +1227,7 @@ "_style": "style", "_children": "children", "width": "auto", + "css": "", "scroll": true, "_layout": "layout", "layout": "", @@ -1401,7 +1401,6 @@ "id": "tab_1", "type": "tab", "color": "auto", - "css": "", "layout": "", "spacing": 0, "value": "", @@ -1411,6 +1410,7 @@ "target": [], "variables": "@{parent.variables}", "tabs": [], + "css": "", "scroll": true } ], @@ -1418,7 +1418,7 @@ "css": "", "value": "", "precision": 0, - "address": "/root", + "address": "/swag_2000", "preArgs": [], "target": [], "variables": {}, diff --git a/app/examples/widgets.js b/app/examples/widgets.js index f956a373..d4a0d2de 100644 --- a/app/examples/widgets.js +++ b/app/examples/widgets.js @@ -2497,7 +2497,7 @@ "css": "", "value": "", "precision": 0, - "address": "/root", + "address": "/widgets", "preArgs": [], "target": [], "variables": {},