This commit is contained in:
Kaspars 2024-05-08 10:38:06 +02:00
parent 33a73c37bc
commit a4f10d5339
2 changed files with 4 additions and 4 deletions

View file

@ -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;