mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +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 {
|
function handleMobileControlsMutations(): void {
|
||||||
if (!chrome.runtime?.id) return;
|
// Don't update while scrubbing
|
||||||
|
if (!chrome.runtime?.id
|
||||||
|
|| document.querySelector(".YtProgressBarProgressBarPlayheadDotInDragging")) return;
|
||||||
|
|
||||||
updateVisibilityOfPlayerControlsButton();
|
updateVisibilityOfPlayerControlsButton();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user