diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c83709d..5fc190ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - sliders/xy: add `spring` option that makes that widget jump back to its initial value when released - fader: horizontal mode default height fixed - keyboard: black keys pressed state is more noticeable + - matrices: added `start` option to choose the first subwidget's `id` - misc - building with node 4 is fixed diff --git a/resources/docs/user-guide/widgets-specifics/matrices.md b/resources/docs/user-guide/widgets-specifics/matrices.md index cf7541f5..2cddf2b7 100644 --- a/resources/docs/user-guide/widgets-specifics/matrices.md +++ b/resources/docs/user-guide/widgets-specifics/matrices.md @@ -21,6 +21,11 @@ Multifader creates a row of vertical faders that respond to the same gestures. - `label`: `i` - `address`: same as the widget's with `/i` appended to it +#### `start` +- type: `integer` +- default: `0` +- usage: first faders's index + #### `traversing` - type: `boolean` - default: `true` @@ -54,6 +59,11 @@ Multifader creates a row of vertical faders that respond to the same gestures. - `label`: `i` - `address`: same as the widget's with `/i` appended to it +#### `start` +- type: `integer` +- default: `0` +- usage: first toggle's index + #### `traversing` - type: `boolean` - default: `true` @@ -86,6 +96,12 @@ Multifader creates a row of vertical faders that respond to the same gestures. - `label`: `i` - `address`: same as the widget's with `/i` appended to it +#### `start` +- type: `integer` +- default: `0` +- usage: first push's index + + #### `traversing` - type: `boolean` - default: `true` diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 691233e6..0f21c19a 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -8,8 +8,10 @@ var _matrices_base = module.exports = function(widgetData){