Sesh titles now glow while unread, fixed chat icon un-lighting pre-emptively.

This commit is contained in:
rainbow napkin 2025-10-07 01:00:13 -04:00
parent e85fb18ce5
commit 64348b8486
3 changed files with 19 additions and 12 deletions

View file

@ -150,7 +150,7 @@ class pmHandler{
handlePing(newSesh = false){
//Light up the icon
this.pmIcon.classList.add('positive-low');
this.pmIcon.classList.add('positive-inverse');
if(newSesh && (localStorage.getItem('newSeshSound') == 'true')){
utils.ux.playSound(this.openSeshSound);
@ -164,14 +164,14 @@ class pmHandler{
//For each sesh
for(const sesh of this.seshList){
//If a sesh is unread
if(sesh.unread){
if(sesh[1].unread){
//LOOK OUT BOYS, THIS ONE'S BEEN READ! CHEESE IT!
return;
}
}
//Unlight the icon
this.pmIcon.classList.remove('positive-low');
this.pmIcon.classList.remove('positive-inverse');
}
readSesh(panelID, seshID){