From 7cfa1172e5ec315ac5559634989da6f8c61f7822 Mon Sep 17 00:00:00 2001 From: Tim Bradgate Date: Mon, 1 Dec 2025 22:00:28 +0000 Subject: [PATCH] fix(client): Apply strikethrough styling to cut stage directions in cue editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #691 Cut stage directions were not showing with strikethrough styling in the cue editor view, while regular cut line parts were correctly styled. Changes: - Applied the existing 'cut-line-part' CSS class to stage directions when they are cut (checked via linePartCuts array) - Updated both the main cue editor view and the modal dialog view to consistently apply the styling The fix uses the same logic already used for regular line parts: :class="{'cut-line-part': linePartCuts.indexOf(line.line_parts[0].id) !== -1}" Since stage directions have only one line part (index 0), we check if that line part's ID is in the linePartCuts array and apply the strikethrough class accordingly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../src/vue_components/show/config/cues/ScriptLineCueEditor.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/vue_components/show/config/cues/ScriptLineCueEditor.vue b/client/src/vue_components/show/config/cues/ScriptLineCueEditor.vue index 2d1cb478..c7c526e7 100644 --- a/client/src/vue_components/show/config/cues/ScriptLineCueEditor.vue +++ b/client/src/vue_components/show/config/cues/ScriptLineCueEditor.vue @@ -46,6 +46,7 @@ >