summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/timeline_editor/index.html6
1 files changed, 5 insertions, 1 deletions
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';
}