fixed a word 'operational' to be 'operating' (#1624)
fixed a word 'operational' to be 'operating'
This commit is contained in:
commit
a7974294ec
1 changed files with 1 additions and 1 deletions
|
@ -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)`.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue