We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22d961 commit 8059ee1Copy full SHA for 8059ee1
src/api.js
@@ -577,16 +577,6 @@ class VLWholeSlideMicroscopyImageViewer {
577
scaleInnerElement.style.margin = '1px';
578
scaleInnerElement.style.willChange = 'contents,width';
579
580
- document.addEventListener('keydown', ((e) => {
581
- const key = e.key;
582
- if (key === "Escape") {
583
- this.deactivateDrawInteraction();
584
- this.deactivateSelectInteraction();
585
- this.deactivateModifyInteraction();
586
- mapElement.style.cursor = 'default';
587
- }
588
- }));
589
-
590
}
591
592
/* Activate draw interaction.
0 commit comments