mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Ignore key combination on KeyboardEvents (#2460)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user