fix now playing artwork error
This commit is contained in:
parent
23fb0db161
commit
b4ab3c19f3
2 changed files with 1 additions and 2 deletions
|
@ -2478,7 +2478,6 @@ const app = new Vue({
|
||||||
if (document.querySelector('.app-playback-controls .artwork') != null) {
|
if (document.querySelector('.app-playback-controls .artwork') != null) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
}
|
}
|
||||||
document.querySelector('.app-playback-controls .artwork').style.setProperty('--artwork', '');
|
|
||||||
if (this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"]) {
|
if (this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"]) {
|
||||||
document.querySelector('.app-playback-controls .artwork').style.setProperty('--artwork', `url("${decodeURI((this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"])).replace('{w}', size).replace('{h}', size)}")`);
|
document.querySelector('.app-playback-controls .artwork').style.setProperty('--artwork', `url("${decodeURI((this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"])).replace('{w}', size).replace('{h}', size)}")`);
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -682,7 +682,7 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-chrome-item.volume-icon {
|
.app-chrome-item.volume-icon {
|
||||||
filter: contrast(0);
|
opacity: 0.7;
|
||||||
background-image: url(http://localhost:9000/assets/volume-up.svg);
|
background-image: url(http://localhost:9000/assets/volume-up.svg);
|
||||||
height: 15px;
|
height: 15px;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue