Fixed aspect lock while toggling cinema mode.

This commit is contained in:
rainbow napkin 2024-12-05 06:43:58 -05:00
parent 8233d36f52
commit b853d75836
2 changed files with 7 additions and 1 deletions

View file

@ -110,6 +110,9 @@ class chatBox{
this.chatBuffer.appendChild(this.chatPreprocessor.preprocess(chatEntry)); this.chatBuffer.appendChild(this.chatPreprocessor.preprocess(chatEntry));
//Set size to aspect on launch
this.resizeAspect();
} }
async send(event){ async send(event){

View file

@ -84,6 +84,9 @@ class player{
}else{ }else{
this.navBar.style.display = "none"; this.navBar.style.display = "none";
} }
//Resize the video if we're aspect locked
this.client.chatBox.resizeAspect();
} }
setOnUI(onUI){ setOnUI(onUI){