mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 08:52:22 +00:00
Update KeyboardEvents.tsx
This commit is contained in:
parent
62772b6bd6
commit
0baa20ba7a
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ export function KeyboardEvents() {
|
||||||
if (evt.repeat) {
|
if (evt.repeat) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip if a button is targeted
|
// Skip if a button is targeted
|
||||||
if (
|
if (
|
||||||
evt.target &&
|
evt.target &&
|
||||||
|
|
@ -243,7 +243,7 @@ export function KeyboardEvents() {
|
||||||
if (evt.repeat) {
|
if (evt.repeat) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip if a button is targeted
|
// Skip if a button is targeted
|
||||||
if (
|
if (
|
||||||
evt.target &&
|
evt.target &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue