From 5d49f18fccc10bb8d44cab88c092bffd5776ee74 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 24 Mar 2020 23:51:55 +0800 Subject: [PATCH] chore: Add code comments. --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index 100fccb..c164bb6 100644 --- a/src/main.js +++ b/src/main.js @@ -249,6 +249,7 @@ function dispatch(event) { * https://github.com/jaywcjlove/hotkeys/pull/129 * This solves the issue in Firefox on Windows where hotkeys corresponding to special characters would not trigger. * An example of this is ctrl+alt+m on a Swedish keyboard which is used to type μ. + * Browser support: https://caniuse.com/#feat=keyboardevent-getmodifierstate */ if (event.getModifierState && event.getModifierState('AltGraph')) { _downKeys.push(17, 18);