cleanup
This commit is contained in:
parent
596b4fd413
commit
9b336aefed
1 changed files with 0 additions and 3 deletions
|
@ -475,9 +475,7 @@ const duplicateLayer = (originalLayer) => {
|
||||||
const givenKeys = e.detail.titles;
|
const givenKeys = e.detail.titles;
|
||||||
let allKeysFound = true;
|
let allKeysFound = true;
|
||||||
for (let i = 0; i < originalKeys.length; i++) {
|
for (let i = 0; i < originalKeys.length; i++) {
|
||||||
//const originalValue = originalValues[originalKeys[i]];
|
|
||||||
if (givenKeys.indexOf(originalKeys[i]) < 0) {
|
if (givenKeys.indexOf(originalKeys[i]) < 0) {
|
||||||
//delete originalValues[originalKeys[i]];
|
|
||||||
allKeysFound = false;
|
allKeysFound = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -492,7 +490,6 @@ const duplicateLayer = (originalLayer) => {
|
||||||
};
|
};
|
||||||
tp.getPanel().addEventListener("injected", addKeyframes);
|
tp.getPanel().addEventListener("injected", addKeyframes);
|
||||||
newLayer.select();
|
newLayer.select();
|
||||||
//tp.shadowRoot.querySelector(`.layerMover${newLayer.id()} div`).click();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue