mirror of
https://codeberg.org/armin/noiz.git
synced 2026-09-01 05:50:52 +02:00
clear playlist without stopping audio or hiding visualizers
This commit is contained in:
parent
cba38cf500
commit
8984f5a864
1 changed files with 1 additions and 1 deletions
|
|
@ -1453,7 +1453,7 @@ function renderTracks() {
|
||||||
});
|
});
|
||||||
trackList.appendChild(div);
|
trackList.appendChild(div);
|
||||||
});
|
});
|
||||||
const hasT = tracks.length > 0;
|
const hasT = tracks.length > 0 || !audio.paused;
|
||||||
emptyState.style.display = hasT ? 'none' : 'flex';
|
emptyState.style.display = hasT ? 'none' : 'flex';
|
||||||
canvas.style.display = hasT ? 'block' : 'none';
|
canvas.style.display = hasT ? 'block' : 'none';
|
||||||
progressRow.style.display = hasT ? 'flex' : 'none';
|
progressRow.style.display = hasT ? 'flex' : 'none';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue