Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: remove unused overlay width helper (#10813)

Adam Eivy110a55f18e62
diff --git a/server/services/musicVideo/overlayText.js b/server/services/musicVideo/overlayText.js
index 71db4f6f17..1fe9aa45b1 100644
--- a/server/services/musicVideo/overlayText.js
+++ b/server/services/musicVideo/overlayText.js
@@ -142,7 +142,6 @@ export function planTextSampleTimes({ lyrics = [], textCues = [], scenes = [], d
const thinEvenly = (list, max) => (list.length <= max ? list
: Array.from({ length: max }, (_, i) => list[Math.floor(((i + 0.5) * list.length) / max)]));
-const widthOf = (b) => b.x1 - b.x0;
const heightOf = (b) => b.y1 - b.y0;
const emOf = (item) => (finite(item.emPx) && item.emPx > 0 ? item.emPx : heightOf(item));