Merge pull request #1857 from ericrosenbaum/bugfix/makey-key-menu-order

For order of Makey Makey extension's key pressed menu
This commit is contained in:
Eric Rosenbaum 2018-12-18 09:52:55 -05:00 committed by GitHub
commit cf5e07a42e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,19 +210,11 @@ class Scratch3MakeyMakeyBlocks {
},
{
text: formatMessage({
id: 'makeymakey.leftArrow',
default: 'left arrow',
description: 'The left arrow key on a computer keyboard.'
id: 'makeymakey.upArrow',
default: 'up arrow',
description: 'The up arrow key on a computer keyboard.'
}),
value: KEY_ID_LEFT
},
{
text: formatMessage({
id: 'makeymakey.rightArrow',
default: 'right arrow',
description: 'The right arrow key on a computer keyboard.'
}),
value: KEY_ID_RIGHT
value: KEY_ID_UP
},
{
text: formatMessage({
@ -234,11 +226,19 @@ class Scratch3MakeyMakeyBlocks {
},
{
text: formatMessage({
id: 'makeymakey.upArrow',
default: 'up arrow',
description: 'The up arrow key on a computer keyboard.'
id: 'makeymakey.rightArrow',
default: 'right arrow',
description: 'The right arrow key on a computer keyboard.'
}),
value: KEY_ID_UP
value: KEY_ID_RIGHT
},
{
text: formatMessage({
id: 'makeymakey.leftArrow',
default: 'left arrow',
description: 'The left arrow key on a computer keyboard.'
}),
value: KEY_ID_LEFT
},
{text: 'w', value: 'w'},
{text: 'a', value: 'a'},