Theming system implemented, started work on "The Network" theme
This commit is contained in:
parent
c2d78b8681
commit
294f0292ab
7 changed files with 883 additions and 4 deletions
|
|
@ -287,6 +287,11 @@ class channel{
|
|||
//Set syncronization delta
|
||||
this.player.syncDelta = value;
|
||||
return;
|
||||
case 'theme':
|
||||
//Set theme
|
||||
ThemeManager.setTheme(value);
|
||||
//We're fuckin' done here
|
||||
return;
|
||||
case 'chatWidthMin':
|
||||
//If the chat isn't loaded
|
||||
if(this.chatBox == null){
|
||||
|
|
@ -336,9 +341,10 @@ class channel{
|
|||
static defaultConfig = new Map([
|
||||
["ytPlayerType","raw"],
|
||||
["IACDN",""],
|
||||
["syncTolerance",0.4],
|
||||
["liveSyncTolerance", 2],
|
||||
["syncTolerance",1],
|
||||
["liveSyncTolerance", 10],
|
||||
["syncDelta", 6],
|
||||
["theme", "Movie Night"],
|
||||
["chatWidthMin", 20],
|
||||
["userlistHidden", false],
|
||||
["cinemaMode", false],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue