This commit is contained in:
Timo Bejan 2022-01-12 15:51:45 +02:00
parent 99316c2cab
commit 6965077554

View File

@ -109,12 +109,6 @@ export class PdfViewerUtils {
for (const hotkey of DISABLED_HOTKEYS) {
this.instance.UI.hotkeys.off(hotkey);
}
console.log('disable', this.instance);
this.instance.UI.hotkeys.off(this.instance.UI.hotkeys.Keys.DOWN);
this.instance.UI.hotkeys.off(this.instance.UI.hotkeys.Keys.UP);
this.instance.UI.hotkeys.off(this.instance.UI.hotkeys.Keys.PAGE_UP);
this.instance.UI.hotkeys.off(this.instance.UI.hotkeys.Keys.PAGE_DOWN);
this.instance.UI.hotkeys.off(this.instance.UI.hotkeys.Keys.P);
}
translateQuads(page: number, quads: any) {