This commit is contained in:
jrkb 2023-10-13 17:11:52 +02:00
parent 494f562b3b
commit 922834161f

View file

@ -116,8 +116,8 @@ const Audio = function(tp, record) {
]; ];
} else if (propTitle.indexOf('letterDelay') === 0) { } else if (propTitle.indexOf('letterDelay') === 0) {
return [ return [
config.audio.defaultRange.letterDelay[0], config.audio.defaultRange.letterDelays[0],
config.audio.defaultRange.letterDelay[1] config.audio.defaultRange.letterDelays[1]
]; ];
} else if (propTitle.split('.')[0] === 'fontVariationAxes') { } else if (propTitle.split('.')[0] === 'fontVariationAxes') {
return layer.props.fontVariationAxes return layer.props.fontVariationAxes
@ -222,8 +222,8 @@ const Audio = function(tp, record) {
let hasLetterDelay = //false; let hasLetterDelay = //false;
config config
.layer.letterDelayProps .layer.letterDelayProps
.indexOf(propTitle.split('.')[0]) >= 0 && propTitle.indexOf('color') < 0; .indexOf(propTitle.split('.')[0]) >= 0 && propTitle.indexOf('color') < 0
//&& tp.isSequenced([...[layer.id()], ...propTitle.split('.')]); && !tp.isSequenced(propTitle);
const panel = tp.getPanel(); const panel = tp.getPanel();
if (!areMutationsObserved) { if (!areMutationsObserved) {
mutationObserver.observe(panel, { childList: true, subtree: true }); mutationObserver.observe(panel, { childList: true, subtree: true });