add back comment
This commit is contained in:
parent
e2a29914c7
commit
71e60ed8de
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ export const scale = register(
|
||||||
const isObject = typeof value === 'object';
|
const isObject = typeof value === 'object';
|
||||||
let step = isObject ? value.n : value;
|
let step = isObject ? value.n : value;
|
||||||
if (isObject) {
|
if (isObject) {
|
||||||
delete value.n;
|
delete value.n; // remove n so it won't cause trouble
|
||||||
}
|
}
|
||||||
if (isNote(step)) {
|
if (isNote(step)) {
|
||||||
// legacy..
|
// legacy..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue