Fixed bug with aspectLock which broke other UX

This commit is contained in:
rainbow napkin 2024-12-05 04:22:24 -05:00
parent ee5a8d9516
commit a20bb99af2
2 changed files with 7 additions and 3 deletions

View file

@ -62,7 +62,7 @@ class player{
this.uiBar.style.display = show ? "flex" : "none";
}
toggleVideo(show = this.playerDiv.style.display == "none"){
toggleVideo(show = !this.playerDiv.checkVisibility()){
if(show){
this.playerDiv.style.display = "flex";
this.showVideoIcon.style.display = "none";
@ -78,7 +78,7 @@ class player{
}
}
toggleCinemaMode(cinema = this.navBar.style.display == "none"){
toggleCinemaMode(cinema = !this.navBar.checkVisibility()){
if(cinema){
this.navBar.style.display = "flex";
}else{