(editor, lines)
| 4625 | } |
| 4626 | |
| 4627 | function applyTimelineEditorChanges(editor, lines) { |
| 4628 | editor.value = lines.join('\n'); |
| 4629 | currentTimeline = editor.value; |
| 4630 | updateBackdrop('timeline-editor', 'timeline-backdrop'); |
| 4631 | debounceSaveTimeline(); |
| 4632 | clearTimeout(window._tlRenderTimer); |
| 4633 | window._tlRenderTimer = setTimeout(() => syncTimelineToUI(), 300); |
| 4634 | } |
| 4635 | |
| 4636 | function removeTimelineField(presetName, periodKey, field) { |
| 4637 | const editor = document.getElementById('timeline-editor'); |
no test coverage detected