mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-07-04 16:10:21 -04:00
Add menu option for loudness in "when > _" hat block
This commit is contained in:
parent
0d7ca1823f
commit
259a49aadb
2 changed files with 3 additions and 1 deletions
|
@ -182,7 +182,8 @@ Blockly.Blocks['event_whengreaterthan'] = {
|
|||
"type": "field_dropdown",
|
||||
"name": "WHENGREATERTHANMENU",
|
||||
"options": [
|
||||
[Blockly.Msg.EVENT_WHENGREATERTHAN_TIMER, 'TIMER']
|
||||
[Blockly.Msg.EVENT_WHENGREATERTHAN_TIMER, 'TIMER'],
|
||||
[Blockly.Msg.EVENT_WHENGREATERTHAN_LOUDNESS, 'LOUDNESS']
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -83,6 +83,7 @@ Blockly.Msg.EVENT_WHENBROADCASTRECEIVED = 'when I receive %1';
|
|||
Blockly.Msg.EVENT_WHENBACKDROPSWITCHESTO = 'when backdrop switches to %1';
|
||||
Blockly.Msg.EVENT_WHENGREATERTHAN = 'when %1 > %2';
|
||||
Blockly.Msg.EVENT_WHENGREATERTHAN_TIMER = 'timer';
|
||||
Blockly.Msg.EVENT_WHENGREATERTHAN_LOUDNESS = 'loudness';
|
||||
Blockly.Msg.EVENT_BROADCAST = 'broadcast %1';
|
||||
Blockly.Msg.EVENT_BROADCASTANDWAIT = 'broadcast %1 and wait';
|
||||
Blockly.Msg.EVENT_WHENKEYPRESSED = 'when %1 key pressed';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue