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 () => {