diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 8a1699b1..0fda4340 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -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];