mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -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',
|
this.runtime.startHats('event_whenkeypressed',
|
||||||
{
|
{
|
||||||
'KEY_OPTION': this._keyCodeToScratchKey(data.keyCode)
|
'KEY_OPTION': this._keyCodeToScratchKey(data.keyCode)
|
||||||
.toUpperCase()
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.runtime.startHats('event_whenkeypressed',
|
this.runtime.startHats('event_whenkeypressed',
|
||||||
{
|
{
|
||||||
'KEY_OPTION': 'ANY'
|
'KEY_OPTION': 'any'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (index > -1) {
|
} else if (index > -1) {
|
||||||
|
|
Loading…
Reference in a new issue