* fixes control bar not hiding; uncluttered control bar from useless buttons
parent
c6366ff812
commit
76380821d9
|
@ -4,3 +4,8 @@
|
|||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* Unimplemented buttons */
|
||||
.ytp-button-watch-later, .ytp-subtitles-button, .ytp-size-toggle-large {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
@ -235,7 +235,11 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
|||
if(type != "controls") {
|
||||
mouseMoveTimeout = setTimeout(() => {
|
||||
controlbar.style="transform: translateY(40px);";
|
||||
}, 2000);
|
||||
}, 2000);
|
||||
} else if (type == "controls") {
|
||||
mouseMoveTimeout = setTimeout(() => {
|
||||
controlbar.style="transform: translateY(40px);";
|
||||
}, 8000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue