From ed4ad03f7c7412bc77138594fae2389f3f4a10a3 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 9 Feb 2026 14:47:46 +0100 Subject: fix: Strip priority comments from effect args in .seq export Remove '# Priority: X' comments from effect arguments during timeline export to keep .seq files clean. Co-Authored-By: Claude Sonnet 4.5 --- tools/timeline_editor/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/timeline_editor/index.html b/tools/timeline_editor/index.html index 074b711..db71beb 100644 --- a/tools/timeline_editor/index.html +++ b/tools/timeline_editor/index.html @@ -601,7 +601,11 @@ const modifier = effect.priorityModifier || '+'; output += ` EFFECT ${modifier} ${effect.className} ${effect.startTime.toFixed(2)} ${effect.endTime.toFixed(2)}`; if (effect.args) { - output += ` ${effect.args}`; + // Strip priority comments from args + const cleanArgs = effect.args.replace(/\s*#\s*Priority:\s*\d+/i, '').trim(); + if (cleanArgs) { + output += ` ${cleanArgs}`; + } } output += '\n'; } -- cgit v1.2.3