Split pmHandler to create auxServer class for easy creation of server classes auxiliary to the channel.

This commit is contained in:
rainbow napkin 2025-10-22 03:04:16 -04:00
parent d874f5e2da
commit 597a984e46
3 changed files with 90 additions and 41 deletions

View file

@ -369,7 +369,6 @@ class pmPanel extends panelObj{
handleAutoScroll(){
//If autoscroll is enabled
if(this.autoScroll){
console.log("SCROLLME");
//Set seshBuffer scrollTop to the difference between scrollHeight and buffer height (scroll to the bottom)
this.seshBuffer.scrollTop = this.seshBuffer.scrollHeight - Math.round(this.seshBuffer.getBoundingClientRect().height);
}