1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix video osd not hiding in experimental layout

This commit is contained in:
Bill Thornton 2024-05-15 14:56:59 -04:00
parent 0fcb1ff983
commit c0467b1f13
6 changed files with 101 additions and 29 deletions

View file

@ -280,12 +280,14 @@ export default function (view) {
let mouseIsDown = false;
function showOsd(focusElement) {
Events.trigger(document, 'showVideoOsd', [ true ]);
slideDownToShow(headerElement);
showMainOsdControls(focusElement);
resetIdle();
}
function hideOsd() {
Events.trigger(document, 'showVideoOsd', [ false ]);
slideUpToHide(headerElement);
hideMainOsdControls();
mouseManager.hideCursor();