fader: add meterAddress (issue #65)
This commit is contained in:
parent
9747366470
commit
ccce950f65
3 changed files with 7 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
- widgets
|
||||
- maths: add `condition` option to [`formula`]http://osc.ammd.net/user-guide/widgets-specifics/maths/#formula)
|
||||
- sliders/pads: add `touchAddress` option
|
||||
- fader: add `meterAddress`
|
||||
|
||||
## 0.17.7
|
||||
|
||||
|
|
|
|||
|
|
@ -83,6 +83,10 @@ range: {
|
|||
- the meter's `id` will be the same as the widget's with `/meter` appended to it
|
||||
- the meter's `address `will be the same as the widget's with `/meter` appended to it
|
||||
|
||||
#### `meterAddress`
|
||||
- type: `boolean`
|
||||
- default: `empty`
|
||||
- usage: overrides the `meter`'s osc address
|
||||
|
||||
#### `css`
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ module.exports = class Fader extends _sliders_base {
|
|||
meter:false,
|
||||
address:'auto',
|
||||
touchAddress:'',
|
||||
meterAddress:'',
|
||||
preArgs:[],
|
||||
target:[]
|
||||
}
|
||||
|
|
@ -111,7 +112,7 @@ module.exports = class Fader extends _sliders_base {
|
|||
horizontal:widgetData.horizontal,
|
||||
range:widgetData.range,
|
||||
logScale:widgetData.logScale,
|
||||
address:widgetData.address + '/meter',
|
||||
address:widgetData.meterAddress || widgetData.address + '/meter',
|
||||
preArgs:widgetData.preArgs,
|
||||
color:widgetData.color
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue