From a233e0f7b9186fecc04493a59ff227d9d8a15fed Mon Sep 17 00:00:00 2001 From: penghanyuan Date: Mon, 5 Jan 2026 21:57:33 +0100 Subject: [PATCH] Update demo.html to hide the nav bar when showing the transcript overlay and restore it when hiding the overlay. --- demo.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/demo.html b/demo.html index 84cba28..88d991f 100644 --- a/demo.html +++ b/demo.html @@ -1621,8 +1621,9 @@ recordHint.style.display = 'none'; timerDisplay.classList.add('visible'); - // Show transcript overlay + // Show transcript overlay and hide nav bar transcriptOverlay.classList.add('visible'); + document.querySelector('.nav-bar').style.display = 'none'; transcriptContent.innerHTML = ''; // Start timer @@ -1656,8 +1657,9 @@ recordHint.style.display = 'block'; timerDisplay.classList.remove('visible'); - // Hide transcript overlay + // Hide transcript overlay and show nav bar transcriptOverlay.classList.remove('visible'); + document.querySelector('.nav-bar').style.display = 'flex'; // Show session summary document.getElementById('summaryDuration').textContent = formatTime(sessionDuration).replace(':', '分') + '秒';