Fix autohide info button affecting skip to highlight

Fix #1063
This commit is contained in:
Ajay Ramachandran 2021-11-27 00:06:52 -05:00
parent 9d70332c9a
commit 2209c230e7

View file

@ -79,7 +79,7 @@ export class SkipButtonControlBar {
mountingContainer.insertBefore(this.container, this.chapterText);
}
if (Config.config.autoHideInfoButton && !this.onMobileYouTube) {
if (!this.onMobileYouTube) {
utils.setupAutoHideAnimation(this.skipIcon, mountingContainer, false, false);
} else {
const { hide, show } = utils.setupCustomHideAnimation(this.skipIcon, mountingContainer, false, false);