Added quick visual fix to playlist management UI
This commit is contained in:
parent
f21b66fae0
commit
8c990c14e6
|
|
@ -150,8 +150,18 @@ class playlistManager{
|
||||||
|
|
||||||
//Create playlist title caret
|
//Create playlist title caret
|
||||||
this.playlistTitleCaret = document.createElement('i');
|
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');
|
this.playlistTitleCaret.classList.add('bi-caret-right-fill');
|
||||||
|
}
|
||||||
|
|
||||||
//Create playlist title label
|
//Create playlist title label
|
||||||
this.playlistTitle = document.createElement('p');
|
this.playlistTitle = document.createElement('p');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue