Fixed aspect lock while toggling cinema mode.
This commit is contained in:
parent
8233d36f52
commit
b853d75836
|
|
@ -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){
|
||||||
|
|
@ -181,7 +184,7 @@ class chatBox{
|
||||||
if(this.aspectLock){
|
if(this.aspectLock){
|
||||||
this.sizeToAspect();
|
this.sizeToAspect();
|
||||||
}else{
|
}else{
|
||||||
this.client.userList.clickDragger.fixCutoff();
|
this.client.userList.clickDragger.fixCutoff();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue