mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Added show and hide cursor
This commit is contained in:
parent
3ffd2bc4b9
commit
d7526d955d
2 changed files with 17 additions and 14 deletions
|
@ -422,9 +422,6 @@ import 'css!assets/css/videoosd';
|
|||
elem.classList.remove('hide');
|
||||
elem.classList.remove('videoOsdBottom-hidden');
|
||||
|
||||
mouseManager.removeIdleClasses(); // Remove Idle Classes To Show Cursor
|
||||
mouseManager.lastMouseInputTime = new Date().getTime(); // Reset Mouse Input Time
|
||||
|
||||
if (!layoutManager.mobile) {
|
||||
setTimeout(function () {
|
||||
focusManager.focus(elem.querySelector('.btnPause'));
|
||||
|
@ -440,7 +437,7 @@ import 'css!assets/css/videoosd';
|
|||
clearHideAnimationEventListeners(elem);
|
||||
elem.classList.add('videoOsdBottom-hidden');
|
||||
|
||||
mouseManager.addIdleClasses(); // Add Idle Classes To Hide Cursor
|
||||
mouseManager.hideCursor();
|
||||
|
||||
dom.addEventListener(elem, transitionEndEventName, onHideAnimationComplete, {
|
||||
once: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue