Fix smallest segment cache

This commit is contained in:
Ajay
2022-12-11 14:21:25 -05:00
parent cf0e91c4ff
commit f59665cccb

View File

@@ -955,8 +955,7 @@ class PreviewBar {
} }
} }
if ((direction === 1 && timeInSeconds > seg.segment[1]) if (direction === 1 && seg.segment[0] > timeInSeconds) {
|| (direction === -1 && timeInSeconds < seg.segment[0])) {
break; break;
} }
} }