From 5457e1f8aab35806c1664e95033d31a5056da749 Mon Sep 17 00:00:00 2001 From: kartikvirendrar Date: Fri, 20 Dec 2024 09:51:07 +0530 Subject: [PATCH] minor changes for expand timestamp seting startime of 1st seg = 0 --- src/utils/subtitleUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/subtitleUtils.js b/src/utils/subtitleUtils.js index b434e1e6..b2a73503 100644 --- a/src/utils/subtitleUtils.js +++ b/src/utils/subtitleUtils.js @@ -346,7 +346,7 @@ export const onExpandTimeline = (id, vo=false) => { const copySub = [...subtitles]; if(id === 0 && copySub.length > 1){ - copySub[id].start_time = DT.d2t(0); + // copySub[id].start_time = DT.d2t(0); copySub[id].end_time = DT.d2t(DT.t2d(copySub[id+1].start_time)-0.2); }else if(id+1 === copySub.length){ copySub[id].start_time = DT.d2t(DT.t2d(copySub[id-1].end_time)+0.2)