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:
parent
0fcb1ff983
commit
c0467b1f13
6 changed files with 101 additions and 29 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue