diff --git a/www/js/channel/chat.js b/www/js/channel/chat.js index 05ced4f..8e7ce96 100644 --- a/www/js/channel/chat.js +++ b/www/js/channel/chat.js @@ -110,6 +110,9 @@ class chatBox{ this.chatBuffer.appendChild(this.chatPreprocessor.preprocess(chatEntry)); + + //Set size to aspect on launch + this.resizeAspect(); } async send(event){ @@ -181,7 +184,7 @@ class chatBox{ if(this.aspectLock){ this.sizeToAspect(); }else{ - this.client.userList.clickDragger.fixCutoff(); + this.client.userList.clickDragger.fixCutoff(); } } diff --git a/www/js/channel/player.js b/www/js/channel/player.js index 85ee37b..72eb213 100644 --- a/www/js/channel/player.js +++ b/www/js/channel/player.js @@ -84,6 +84,9 @@ class player{ }else{ this.navBar.style.display = "none"; } + + //Resize the video if we're aspect locked + this.client.chatBox.resizeAspect(); } setOnUI(onUI){