mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Fix transition issue
This commit is contained in:
@@ -453,7 +453,7 @@ class PreviewBar {
|
|||||||
// Prevent transition from occuring
|
// Prevent transition from occuring
|
||||||
if (firstUpdate) {
|
if (firstUpdate) {
|
||||||
customChangedElement.style.transition = "none";
|
customChangedElement.style.transition = "none";
|
||||||
setTimeout(() => customChangedElement.style.transition = "inherit", 50);
|
setTimeout(() => customChangedElement.style.removeProperty("transition"), 50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user