mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-06 16:21:37 +00:00
fix #102
This commit is contained in:
parent
1447fd9f3d
commit
6f7096baa3
3 changed files with 11 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
||||||
|
Fixed:
|
||||||
|
- Album info on playbar setting being ignored (#102)
|
||||||
|
|
@ -111,7 +111,7 @@ waitForElement(["#main"], () => {
|
||||||
name: "Show Album Info in Playbar",
|
name: "Show Album Info in Playbar",
|
||||||
description: "Show Album Name and Year in the Playbar",
|
description: "Show Album Name and Year in the Playbar",
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
onChange: (val) => $("#main-trackInfo-year").css("display", val ? "block" : "none")
|
onChange: (val) => $("#main").attr("playbar-album-info", val)
|
||||||
});
|
});
|
||||||
|
|
||||||
DribbblishShared.config.register({
|
DribbblishShared.config.register({
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
.main-topBar-topbarContent .main-playButton-PlayButton {
|
||||||
--size: 35px !important;
|
--size: 35px !important;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue