Added quick visual fix to playlist management UI

This commit is contained in:
rainbow napkin 2025-04-04 08:27:18 -04:00
parent f21b66fae0
commit 8c990c14e6

View file

@ -150,8 +150,18 @@ class playlistManager{
//Create playlist title caret
this.playlistTitleCaret = document.createElement('i');
//Set class
//If this is supposed to be open
if(this.openMap.get(this.playlist.name)){
//Set class accordingly
this.playlistTitleSpan.classList.add('positive');
this.playlistTitleCaret.classList.add('bi-caret-down-fill');
//otherwise
}else{
//Set class accordingly
this.playlistTitleCaret.classList.add('bi-caret-right-fill');
}
//Create playlist title label
this.playlistTitle = document.createElement('p');