forked from 0x2620/oxjs
Ox.Map: meta+click on selected place now deselects it (fixes #655)
This commit is contained in:
parent
c0c4031825
commit
fa146ebbba
3 changed files with 24 additions and 11 deletions
|
|
@ -23,7 +23,8 @@ Ox.Keyboard = (function() {
|
|||
|
||||
Ox.forEach(Ox.MODIFIER_KEYS, function(v, k) {
|
||||
// avoid pushing modifier twice
|
||||
// using event.originalEvent since jquery always sets event.metaKey to event.ctrlKey
|
||||
// using event.originalEvent since jquery always sets
|
||||
// event.metaKey to event.ctrlKey
|
||||
if (event.originalEvent[k] && keyBasename != v) {
|
||||
keyNames.splice(-1, 0, v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue