mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 05:38:31 +00:00
Merge pull request #1045 from lindenkron/Remove-Zero-Height
Chat box autohide fix
This commit is contained in:
commit
8d0a37ea54
5
main.css
5
main.css
@ -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;
|
||||
|
||||
1
main.js
1
main.js
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user