Finished work on chat nameplate format settings.

This commit is contained in:
rainbow napkin 2026-10-14 04:34:30 -04:00
parent 6346b8f148
commit cd5f168243
8 changed files with 94 additions and 5 deletions

View file

@ -327,6 +327,26 @@ class channel{
//Set theme
ThemeManager.setTheme(value);
//We're fuckin' done here
return;
case 'nameplateFormat':
switch(value){
//If we're throwin' the nameplate to the left
case 'left':
console.log("FUCK")
document.body.style.setProperty("--chat-entry-flex-direction", "row");
break;
//If we're throwin' er' up top, or someones bein' some sorta smartass
default:
document.body.style.setProperty("--chat-entry-flex-direction", "column");
break;
}
//If the chatbox is loaded in
if(this.chatBox != null){
//Re render any existing chats
this.chatBox.rerenderBuffer();
}
return;
case 'chatWidthMin':
//If the chat isn't loaded
@ -391,6 +411,7 @@ class channel{
["liveSyncTolerance", 10],
["syncDelta", 6],
["theme", "The Network (Classic)"],
["nameplateFormat", "left"],
["chatWidthMin", 20],
["disablePortrait", false],
["disableSendButton", false],