Added portrait-mode toggle
This commit is contained in:
parent
f9a6321b7b
commit
d41e9d1df9
4 changed files with 43 additions and 7 deletions
|
|
@ -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]
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue