From 47d313f39c1238defdc5d5ebb7f71a30be6dfec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastjan=20Arti=C4=8D?= Date: Thu, 30 Apr 2026 11:32:40 +0000 Subject: [PATCH] Debug: log trim modal init values --- templates/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/index.html b/templates/index.html index 03a7dad..c39c6d5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1219,8 +1219,14 @@ }; // Initial render + console.log("[EditModal] init", { startInit, endInit, videoDuration, trimStart, trimEnd }); renderTrim(); renderPlayhead(); + console.log("[EditModal] after renderTrim", { + leftStyle: handleL.style.left, + rightStyle: handleR.style.left, + trimBarWidth: trimBar.getBoundingClientRect().width + }); // Save button document.getElementById("edit-save-btn").addEventListener("click", async () => {