mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Remove uppercase from keyboard hat activators
This commit is contained in:
parent
3fcd70a802
commit
f7e339f7c2
1 changed files with 1 additions and 2 deletions
|
@ -62,12 +62,11 @@ Keyboard.prototype.postData = function (data) {
|
|||
this.runtime.startHats('event_whenkeypressed',
|
||||
{
|
||||
'KEY_OPTION': this._keyCodeToScratchKey(data.keyCode)
|
||||
.toUpperCase()
|
||||
});
|
||||
|
||||
this.runtime.startHats('event_whenkeypressed',
|
||||
{
|
||||
'KEY_OPTION': 'ANY'
|
||||
'KEY_OPTION': 'any'
|
||||
});
|
||||
}
|
||||
} else if (index > -1) {
|
||||
|
|
Loading…
Reference in a new issue