bug fix
This commit is contained in:
parent
33a73c37bc
commit
a4f10d5339
2 changed files with 4 additions and 4 deletions
|
|
@ -201,7 +201,7 @@ export const scale = register(
|
|||
const isObject = typeof value === 'object';
|
||||
let step = value;
|
||||
if (isObject) {
|
||||
if (value.note) {
|
||||
if (typeof value.note !== 'undefined') {
|
||||
step = value.note;
|
||||
} else {
|
||||
step = value.n;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue