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

Stop multi select on ESC key press

This commit is contained in:
engine 2024-11-26 04:52:19 +01:00
parent 30117bcc86
commit 0610cc6418

View file

@ -7,6 +7,7 @@ import browser from './browser';
import inputManager from './inputManager';
import layoutManager from '../components/layoutManager';
import appSettings from './settings/appSettings';
import { stopMultiSelect } from '../components/multiSelect/multiSelect';
/**
* Key name mapping.
@ -178,6 +179,7 @@ export function enable() {
break;
case 'Escape':
stopMultiSelect();
if (layoutManager.tv) {
inputManager.handleCommand('back');
} else {