mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Don't display preview bar while scrubbing on mobile
Should help with #1962
This commit is contained in:
parent
fdf1a6acf9
commit
7cb413db15
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue