keys: rename var super to meta (super is already used in js)
This commit is contained in:
parent
926853ebf1
commit
c8886a4d2f
2 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ class Keys extends Widget {
|
|||
'- `ctrl`: control key state',
|
||||
'- `alt`: alt key state',
|
||||
'- `shift`: shift key state',
|
||||
'- `super`: command/windows key state'
|
||||
'- `meta`: command/windows key state'
|
||||
]},
|
||||
keyup: {type: 'string', value: '', help: 'Same as `keydown`, but evaluated when releasing the key combo'},
|
||||
repeat: {type: 'boolean', value: true, help: 'Set to `false` to prevent keydown repeats when holding the key combo pressed'},
|
||||
|
|
@ -158,7 +158,7 @@ Keys.parsersContexts.keydown = Keys.parsersContexts.keyup = {
|
|||
ctrl: false,
|
||||
alt: false,
|
||||
shift: false,
|
||||
super: false
|
||||
meta: false
|
||||
}
|
||||
|
||||
Keys.dynamicProps = Keys.prototype.constructor.dynamicProps.concat(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue