fixed a word 'operational' to be 'operating' (#1624)

fixed a word 'operational' to be 'operating'
This commit is contained in:
Alexey Pyltsyn 2019-11-25 12:15:35 +03:00 committed by GitHub
commit a7974294ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ So if we want to support combinations like `key:Ctrl`+click, then for Mac it mak
Even if we'd like to force Mac users to `key:Ctrl`+click -- that's kind of difficult. The problem is: a left-click with `key:Ctrl` is interpreted as a *right-click* on MacOS, and it generates the `contextmenu` event, not `click` like Windows/Linux. Even if we'd like to force Mac users to `key:Ctrl`+click -- that's kind of difficult. The problem is: a left-click with `key:Ctrl` is interpreted as a *right-click* on MacOS, and it generates the `contextmenu` event, not `click` like Windows/Linux.
So if we want users of all operational systems to feel comfortable, then together with `ctrlKey` we should check `metaKey`. So if we want users of all operating systems to feel comfortable, then together with `ctrlKey` we should check `metaKey`.
For JS-code it means that we should check `if (event.ctrlKey || event.metaKey)`. For JS-code it means that we should check `if (event.ctrlKey || event.metaKey)`.
``` ```