mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Include unsubmitted in active segment label
This commit is contained in:
@@ -459,7 +459,7 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?:
|
||||
if (!video) return;
|
||||
if (currentTime === undefined || currentTime === null) currentTime = video.currentTime;
|
||||
|
||||
previewBar?.updateChapterText(sponsorTimes, currentTime);
|
||||
previewBar?.updateChapterText(sponsorTimes, sponsorTimesSubmitting, currentTime);
|
||||
|
||||
if (video.paused) return;
|
||||
if (videoMuted && !inMuteSegment(currentTime)) {
|
||||
@@ -666,7 +666,7 @@ function setupVideoListeners() {
|
||||
|
||||
startSponsorSchedule();
|
||||
} else {
|
||||
previewBar?.updateChapterText(sponsorTimes, video.currentTime);
|
||||
previewBar?.updateChapterText(sponsorTimes, sponsorTimesSubmitting, video.currentTime);
|
||||
}
|
||||
});
|
||||
video.addEventListener('ratechange', () => startSponsorSchedule());
|
||||
|
||||
Reference in New Issue
Block a user