mirror of
https://github.com/stashapp/stash.git
synced 2026-05-08 20:58:48 +02:00
Ignore key combination on KeyboardEvents (#2460)
This commit is contained in:
parent
e54268cc7a
commit
0880991a2c
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ function handleHotkeys(player: VideoJsPlayer, event: VideoJS.KeyboardEvent) {
|
|||
player.currentTime(time);
|
||||
}
|
||||
|
||||
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (event.which) {
|
||||
case 32: // space
|
||||
case 13: // enter
|
||||
|
|
|
|||
Loading…
Reference in a new issue