diff --git a/bin/em/variabletime/web/js/record.js b/bin/em/variabletime/web/js/record.js index b23e6fb..387e703 100644 --- a/bin/em/variabletime/web/js/record.js +++ b/bin/em/variabletime/web/js/record.js @@ -442,10 +442,10 @@ const Record = function(tp) { const syncLetterDelays = (layer, propPaths) => { propPaths.forEach((path) => { const oldLetterDelay = getNestedProperty(layer.theatreObject.value.letterDelays, path, true); - const isOriginalSequenced = tp.isSequenced(path, layer); - const isLetterDelaySequenced = tp.isSequenced(["letterDelays", path], layer); + //const isOriginalSequenced = tp.isSequenced(path, layer); + const isLetterDelaySequenced = tp.isSequenced(["letterDelays", ...path], layer); // we use audio.getSavedMapping(), because mapping may be removed directly after recording - const mapping = getNestedProperty(audio.getSavedMapping(), [layer.id()].concat(path), true); + const mapping = getNestedProperty(audio.getSavedMapping(), [layer.id(),...[path.join('.')]], true); const newLetterDelay = (() => { if (typeof mapping['letterDelay'] === 'undefined') { return false;