tangled
alpha
login
or
join now
ansxor.ca
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atmosphere explorer
0
fork
atom
overview
issues
pulls
pipelines
dont trigger shortcut when editor opened
handle.invalid
3 months ago
a56e4635
794d6b9a
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+1
1 changed file
expand all
collapse all
unified
split
src
components
create.tsx
+1
src/components/create.tsx
···
58
58
onMount(() => {
59
59
const keyEvent = (ev: KeyboardEvent) => {
60
60
if (ev.target instanceof HTMLInputElement || ev.target instanceof HTMLTextAreaElement) return;
61
61
+
if ((ev.target as HTMLElement).closest("[data-modal]")) return;
61
62
62
63
const key = props.create ? "n" : "e";
63
64
if (ev.key === key) {