@ed: music backdrop patch

This commit is contained in:
Til Schmitter 2026-05-12 18:38:46 +02:00
parent 680788ee20
commit a9d51d701a
2 changed files with 9 additions and 3 deletions

View file

@ -1633,9 +1633,9 @@ html:not(.e):not(.d) #up_quick .btn.on {
#music a {
cursor: pointer;
}
html.b #music {
html.b #mu_inner {
background: color-mix(in oklab, var(--bg-u2) 70%, transparent);
backdrop-filter: blur(50px);
backdrop-filter: blur(32px);
}
#h_music {
position: absolute;

View file

@ -2090,8 +2090,14 @@ var mpl = (function () {
r.set_mu_cv = function() {
var o = QS('#music.vis #mu_th>img');
if (o) {
var url = r.cover.slice(0, -1) + 'wf3';
set_loaded(o, false);
o.setAttribute('src', r.cover.slice(0, -1) + 'wf3');
o.setAttribute('src', url);
o = QS('html.b #music');
if (o)
o.style.background = "url('" + url + "') no-repeat center / cover";
}
}