From bb8eda56fbe32a42f794a125277d0905855a0f63 Mon Sep 17 00:00:00 2001 From: Zhi Wang Date: Tue, 18 Jan 2022 09:07:54 -0500 Subject: [PATCH] WIP --- assets/replay.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/assets/replay.js b/assets/replay.js index 6696927..5509305 100644 --- a/assets/replay.js +++ b/assets/replay.js @@ -118,10 +118,7 @@ async function replay_session(term, path, start, paused, prog, end) { } } - if (item.Duration >= total_dur / 100) { - prog(parseInt(cur * 100 / total_dur)) - } - + prog(parseInt(cur * 100 / total_dur)) term.write(base64ToUint8array(item.Data)) }