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:
parent
8e7f1aa0d7
commit
5fb29b77a8
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ import 'css!assets/css/videoosd';
|
||||||
clickedElement = e.target;
|
clickedElement = e.target;
|
||||||
|
|
||||||
const key = keyboardnavigation.getKeyName(e);
|
const key = keyboardnavigation.getKeyName(e);
|
||||||
const isKeyModified = e.ctrlKey || e.altKey;
|
const isKeyModified = e.ctrlKey || e.altKey || e.metaKey;
|
||||||
|
|
||||||
if (!currentVisibleMenu && 32 === e.keyCode) {
|
if (!currentVisibleMenu && 32 === e.keyCode) {
|
||||||
playbackManager.playPause(currentPlayer);
|
playbackManager.playPause(currentPlayer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue