diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 9ccd18a6..624706f2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -40,9 +40,9 @@ module.exports = class MultiXy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only.', - 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.', diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 7a689f08..bc0a6888 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -32,9 +32,9 @@ module.exports = class Xy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only unless `Shift` is held.', - 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.',