From eef18372cc613bcd65aea31da5dde4f2296de138 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Mon, 12 Feb 2024 18:04:47 -0800 Subject: [PATCH] fix inverted cond in combining --- ui/src/List/VideoList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/List/VideoList.tsx b/ui/src/List/VideoList.tsx index 5937dbd..eae4e99 100644 --- a/ui/src/List/VideoList.tsx +++ b/ui/src/List/VideoList.tsx @@ -71,7 +71,7 @@ export function combine( cur.height === vse.height && cur.aspectWidth === vse.aspectWidth && cur.aspectHeight === vse.aspectHeight && - (split90k === undefined || r.endTime90k - cur.startTime90k <= split90k) + (split90k === undefined || cur.endTime90k - r.startTime90k <= split90k) ) { cur.startId = r.startId; cur.firstUncommitted == r.firstUncommitted ?? cur.firstUncommitted;