Adjusted fade out animation to feel much better

This commit is contained in:
Ajay Ramachandran
2019-08-19 17:57:10 -04:00
parent e5e250ff36
commit 50f929c11a
2 changed files with 4 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ class SkipNotice {
//start fade out animation
let notice = document.getElementById("sponsorSkipNotice" + this.UUID);
notice.style.removeProperty("animation");
notice.classList.add("sponsorBlockFadeOutAnimiation");
notice.classList.add("sponsorSkipNoticeFadeOut");
}
this.updateTimerDisplay();
@@ -198,7 +198,7 @@ class SkipNotice {
//remove the fade out class if it exists
let notice = document.getElementById("sponsorSkipNotice" + this.UUID);
notice.classList.remove("sponsorBlockFadeOutAnimiation");
notice.classList.remove("sponsorSkipNoticeFadeOut");
notice.style.animation = "none";
}