Match title overlay production margins

This commit is contained in:
b0txec
2026-08-20 11:05:31 +03:00
parent 0d641bd38f
commit 754415a60c
+3 -1
View File
@@ -111,7 +111,9 @@ function drawTitleOverlay(ctx: CanvasRenderingContext2D, title: string, source:
if (!title.trim() && !source.trim()) return;
const scale = canvasWidth / 1920;
const right = 34 * scale;
// The two broadcast formats use different composition-safe areas. These
// insets come from the approved 1920 and 3840 production references.
const right = canvasWidth >= 3000 ? 376 : 88;
const top = 38 * scale;
const horizontalPadding = 24 * scale;
const titleHeight = 62 * scale;