Just one more fix bro

This commit is contained in:
Vanilagy
2025-09-01 16:20:07 +02:00
parent cdb00a3942
commit 4ef2d2719c
+7
View File
@@ -642,6 +642,13 @@ const formatSeconds = (seconds: number) => {
return result;
};
window.addEventListener('resize', () => {
if (totalDuration) {
updateProgressBarTime(getPlaybackTime());
durationElement.textContent = formatSeconds(totalDuration);
}
});
/** === FILE SELECTION LOGIC === */
selectMediaButton.addEventListener('click', () => {