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

Consider Meta Key as a modifier

In a previous commit, number seek navigation was disabled when the ALT and CTRL
modifiers were active. Macs allow tab switching with the COMMAND key and
a number. This commit excludes meta key modifiers (COMMAND and WINDOWS)
key.
This commit is contained in:
Cyrus Boadway 2020-07-31 11:15:27 +01:00
parent 8e7f1aa0d7
commit 5fb29b77a8

View file

@ -1134,7 +1134,7 @@ import 'css!assets/css/videoosd';
clickedElement = e.target;
const key = keyboardnavigation.getKeyName(e);
const isKeyModified = e.ctrlKey || e.altKey;
const isKeyModified = e.ctrlKey || e.altKey || e.metaKey;
if (!currentVisibleMenu && 32 === e.keyCode) {
playbackManager.playPause(currentPlayer);