mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Merge pull request #49 from benogle/mac-command-key-fix
Add keycodes for Mac command keys in different browsers.
This commit is contained in:
commit
4ff710886e
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ var Key = this.Key = new function() {
|
|||
39: 'right',
|
||||
40: 'down',
|
||||
46: 'delete',
|
||||
91: 'command'
|
||||
91: 'command',
|
||||
93: 'command', // WebKit right command button
|
||||
224: 'command' // Gecko command button
|
||||
},
|
||||
|
||||
// Use Base.merge to convert into a Base object, for #toString()
|
||||
|
|
Loading…
Reference in a new issue