Skip to content

Commit

Permalink
Improve play bar icons hover effects
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxuan010 committed Nov 15, 2024
1 parent adec51e commit 6984ff8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions public/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
.playerButtonImage {
height: 22px;
vertical-align: top;
opacity: 0.9;
}

.playerButtonImage:hover {
opacity: 1;
}

.playerButton {
Expand Down
2 changes: 1 addition & 1 deletion src/render/PlayerButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class PlayerButton {
},
};
if (Config.config.autoHideInfoButton) {
AnimationUtils.setupAutoHideAnimation(this.playerButtons.info.button, controlsContainer);
AnimationUtils.setupAutoHideAnimation(this.playerButtons.info.button, this.container);
}
this.creatingButtons = false;
}
Expand Down

0 comments on commit 6984ff8

Please sign in to comment.