diff --git a/bin/em/variabletime/web/js/main.js b/bin/em/variabletime/web/js/main.js index 586932e..3f519a0 100644 --- a/bin/em/variabletime/web/js/main.js +++ b/bin/em/variabletime/web/js/main.js @@ -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(); }); }); };