fix(ui): don't prevent default keyboard behavior unless its player shortcut (#1987)
This commit is contained in:
parent
8c84fd6550
commit
3e1415eded
1 changed files with 1 additions and 1 deletions
|
|
@ -35,9 +35,9 @@ function useShortcuts({
|
|||
if (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
// shift + f = fullscreenOn
|
||||
if (e.shiftKey) {
|
||||
e.preventDefault();
|
||||
player.toggleInspectorMode(false)
|
||||
switch (e.key) {
|
||||
case 'F':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue