Fix chapter sorting

This commit is contained in:
Ajay
2022-02-23 01:24:15 -05:00
parent 2b811c5ab4
commit 1ec184048c

View File

@@ -581,7 +581,7 @@ class PreviewBar {
} else if (a.actionType !== ActionType.Chapter && b.actionType === ActionType.Chapter) {
return 1;
} else {
return (a.segment[0] - b.segment[1]);
return (b.segment[0] - a.segment[0]);
}
})[0];