Merge pull request #1045 from lindenkron/Remove-Zero-Height

Chat box autohide fix
This commit is contained in:
Steve Seguin 2023-04-14 14:07:37 -04:00 committed by GitHub
commit 8d0a37ea54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -2221,11 +2221,6 @@ label {
animation: fadeout 1s;
opacity: 0!important;
}
.zeroHeight {
max-height:0!important;
height:0!important;
bottom:30px!important;
}
.partialFadeout{
opacity: 0.2 !important;

View File

@ -4410,7 +4410,6 @@ async function main(){ // main asyncronous thread; mostly initializes the user s
if (session.autohide && (session.scene===false)){// && (session.roomid!==false)){
getById("main").onmouseover = showControl; // this is correct. (it's not session.showControls)
document.ontouchstart = showControl; // this is correct. (it's not session.showControls)
getById("controlButtons").classList.add("zeroHeight");
getById("gridlayout").classList.add("nocontrolbar");
}