diff options
author | bobzel <zzzman@gmail.com> | 2020-09-30 23:17:37 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-30 23:17:37 -0400 |
commit | be8940e0fea4cf2082c444d54173ee7482e8a327 (patch) | |
tree | c83e9e7f4e3644b45ce5e3f9e7cad8cb5aada134 /src/client/views/GlobalKeyHandler.ts | |
parent | 406fe460b7c42eb556415b36020050caac926cc2 (diff) |
fixed linking to text hyperlinks from PDFs
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 9ca1dbf11..1b2395423 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -52,7 +52,7 @@ export class KeyManager { public unhandle = action((e: KeyboardEvent) => { if (e.key.toLowerCase() === "shift") KeyManager.Instance.ShiftPressed = false; - }) + }); public handle = action(async (e: KeyboardEvent) => { if (e.key.toLowerCase() === "shift") KeyManager.Instance.ShiftPressed = true; @@ -75,7 +75,7 @@ export class KeyManager { control.stopPropagation && e.stopPropagation(); control.preventDefault && e.preventDefault(); - }) + }); private handleGreedy = action((keyname: string) => { switch (keyname) { @@ -149,7 +149,7 @@ export class KeyManager { stopPropagation: stopPropagation, preventDefault: preventDefault }; - }) + }); private alt = action((keyname: string) => { const stopPropagation = true; |