Added portrait-mode toggle

This commit is contained in:
rainbow napkin 2026-05-18 01:21:56 -04:00
parent f9a6321b7b
commit d41e9d1df9
4 changed files with 43 additions and 7 deletions

View file

@ -288,6 +288,16 @@ class channel{
//Set Chat Box Width minimum while Locked to Aspect-Ratio
this.chatBox.chatWidthMinimum = value / 100;
return;
case 'disablePortrait':
//If the chat isn't loaded
if(this.chatBox == null){
//We're fuckin' done here
return;
}
//Toggle portrait mode
this.chatBox.togglePortrait();
return;
case 'userlistHidden':
//If the userlist class isn't loaded in yet
if(this.userList == null){
@ -326,7 +336,8 @@ class channel{
["rxPMSound", 'unread'],
["txPMSound", false],
["newSeshSound", true],
["endSeshSound", true]
["endSeshSound", true],
["disablePortrait", false]
]);
}