This commit is contained in:
themancalledjakob 2024-03-16 15:29:38 +01:00
parent 596b4fd413
commit 9b336aefed

View file

@ -475,9 +475,7 @@ const duplicateLayer = (originalLayer) => {
const givenKeys = e.detail.titles;
let allKeysFound = true;
for (let i = 0; i < originalKeys.length; i++) {
//const originalValue = originalValues[originalKeys[i]];
if (givenKeys.indexOf(originalKeys[i]) < 0) {
//delete originalValues[originalKeys[i]];
allKeysFound = false;
}
}
@ -492,7 +490,6 @@ const duplicateLayer = (originalLayer) => {
};
tp.getPanel().addEventListener("injected", addKeyframes);
newLayer.select();
//tp.shadowRoot.querySelector(`.layerMover${newLayer.id()} div`).click();
});
});
};