Merge pull request #981 from towerofnix/fix-key-pressed-import

Make "key pressed?" sensing block import correctly
This commit is contained in:
Eric Rosenbaum 2018-03-16 11:42:35 -04:00 committed by GitHub
commit ec0eca2b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -861,8 +861,9 @@ const specMap = {
opcode: 'sensing_keypressed', opcode: 'sensing_keypressed',
argMap: [ argMap: [
{ {
type: 'field', type: 'input',
fieldName: 'KEY_OPTION' inputOp: 'sensing_keyoptions',
inputName: 'KEY_OPTION'
} }
] ]
}, },