diff --git a/README.md b/README.md index 49cc9370..59edcd7e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can try the app here http://openstagecontrol.herokuapp.com/ Please note that : - Chrome 47 at least is required - Since there is only one instance running, all connected guests are synchronized (widgets using the same osc paths update each other's states) : you might experience some unwanted synchronization with other users unless you specify custom parameters for your widgets. -- You might want to download the examples sessions files under *sessions/* and load them from the app to get started. +- You might want to download the examples sessions files under *examples/* and load them from the app to get started. ### Features @@ -84,7 +84,6 @@ A valid session file is a javascript file that returns, when eval'd, an array of { id:"my_tab_id", // [string] optional, default to unique 'tab_n' label:"My tab", // [string] default to id - stretch:false, // [bool] set to true to stretch widgets width (don't put horizontal strips in it) widgets: [], // [array] of widget objects tabs: [] // [array] of tab objects // A tab cannot contain widgets and tabs simultaneously diff --git a/browser/js/app/parser.js b/browser/js/app/parser.js index 316365e0..cb214b88 100644 --- a/browser/js/app/parser.js +++ b/browser/js/app/parser.js @@ -44,7 +44,6 @@ module.exports.tabs = function(data,parent,main){ on = i==0?'on':'' tabData.label = label - tabData.stretch = tabData.stretch || false delete tabData.id navtabs.append(`
  • ${label}
  • `) @@ -52,7 +51,6 @@ module.exports.tabs = function(data,parent,main){ var tabContent = $(`
    `) tabContent.data(tabData) - if (tabData.stretch) tabContent.addClass('stretch') if (tabData.tabs) { module.exports.tabs(tabData.tabs,parent=tabContent) diff --git a/browser/scss/style.scss b/browser/scss/style.scss index d3ad0931..69e8f57c 100644 --- a/browser/scss/style.scss +++ b/browser/scss/style.scss @@ -642,15 +642,6 @@ a { // TABS -.tab.on.stretch { - display:flex; - justify-content: space-between; - > .widget { - width:100%; - } -} - - .tab { display:none; overflow: auto;