xy/multixy: change axisLock choices order

This commit is contained in:
jean-emmanuel 2025-03-10 09:05:01 +01:00
parent 0f60d212fa
commit 1a564f8458
2 changed files with 4 additions and 4 deletions

View file

@ -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.',

View file

@ -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.',