mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 22:17:21 +03:00
Don't display preview bar while scrubbing on mobile
Should help with #1962
This commit is contained in:
@@ -454,7 +454,9 @@ function videoIDChange(): void {
|
||||
}
|
||||
|
||||
function handleMobileControlsMutations(): void {
|
||||
if (!chrome.runtime?.id) return;
|
||||
// Don't update while scrubbing
|
||||
if (!chrome.runtime?.id
|
||||
|| document.querySelector(".YtProgressBarProgressBarPlayheadDotInDragging")) return;
|
||||
|
||||
updateVisibilityOfPlayerControlsButton();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user