This commit is contained in:
Send_Nukez 2021-11-09 15:06:26 +01:00
parent 1447fd9f3d
commit 6f7096baa3
3 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,2 @@
Fixed:
- Album info on playbar setting being ignored (#102)

View file

@ -111,7 +111,7 @@ waitForElement(["#main"], () => {
name: "Show Album Info in Playbar",
description: "Show Album Name and Year in the Playbar",
defaultValue: true,
onChange: (val) => $("#main-trackInfo-year").css("display", val ? "block" : "none")
onChange: (val) => $("#main").attr("playbar-album-info", val)
});
DribbblishShared.config.register({

View file

@ -660,6 +660,14 @@ input:hover:not([disabled]):not(:active) ~ .x-toggle-indicatorWrapper {
}
}
#main-trackInfo-year {
display: block;
#main[playbar-album-info="false"] & {
display: none;
}
}
.main-topBar-topbarContent .main-playButton-PlayButton {
--size: 35px !important;
}