mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
make inputOP, arg name and menu name the same
This commit is contained in:
parent
ca08cd69e9
commit
8b18ff7ae9
2 changed files with 6 additions and 6 deletions
|
@ -464,7 +464,7 @@ class Scratch3MusicBlocks {
|
|||
arguments: {
|
||||
DRUM: {
|
||||
type: ArgumentType.NUMBER,
|
||||
menu: 'drums',
|
||||
menu: 'DRUM',
|
||||
defaultValue: 1
|
||||
},
|
||||
BEATS: {
|
||||
|
@ -506,7 +506,7 @@ class Scratch3MusicBlocks {
|
|||
arguments: {
|
||||
INSTRUMENT: {
|
||||
type: ArgumentType.NUMBER,
|
||||
menu: 'instruments',
|
||||
menu: 'INSTRUMENT',
|
||||
defaultValue: 1
|
||||
}
|
||||
}
|
||||
|
@ -540,8 +540,8 @@ class Scratch3MusicBlocks {
|
|||
}
|
||||
],
|
||||
menus: {
|
||||
drums: this._buildMenu(this.DRUM_INFO),
|
||||
instruments: this._buildMenu(this.INSTRUMENT_INFO)
|
||||
DRUM: this._buildMenu(this.DRUM_INFO),
|
||||
INSTRUMENT: this._buildMenu(this.INSTRUMENT_INFO)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -424,7 +424,7 @@ const specMap = {
|
|||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'math_number',
|
||||
inputOp: 'music.menu.DRUM',
|
||||
inputName: 'DRUM'
|
||||
},
|
||||
{
|
||||
|
@ -464,7 +464,7 @@ const specMap = {
|
|||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'math_number',
|
||||
inputOp: 'music.menu.INSTRUMENT',
|
||||
inputName: 'INSTRUMENT'
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue