diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-05-05 00:14:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 00:14:21 +0300 |
commit | a1f8f0d1de7286a55c97a783504b23bd76740e50 (patch) | |
tree | ccef04b6d6c8c0deec1fa5743ed4948c05a45cdb /ext/mixed/js/text-scanner.js | |
parent | 7d7ff165ced305bc269b24aa0ce8664272d86fa6 (diff) |
support meta as scanning modifier (#502)
Diffstat (limited to 'ext/mixed/js/text-scanner.js')
-rw-r--r-- | ext/mixed/js/text-scanner.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js index 9dcf6009..cc81f758 100644 --- a/ext/mixed/js/text-scanner.js +++ b/ext/mixed/js/text-scanner.js @@ -369,6 +369,7 @@ class TextScanner extends EventDispatcher { case 'alt': return mouseEvent.altKey; case 'ctrl': return mouseEvent.ctrlKey; case 'shift': return mouseEvent.shiftKey; + case 'meta': return mouseEvent.metaKey; case 'none': return true; default: return false; } |