Skip to content

Commit 99788ba

Browse files
author
Antonino Tramontana
committed
fixed pause reference
1 parent 8795dce commit 99788ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/assets/toolbox_basic.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</block>
1313
<block type="coderbot_music_note_basic"></block>
1414
<block type="coderbot_animal_verse_basic"></block>
15+
<block type="coderbot_music_pause_basic"></block>
1516
<block type="coderbot_camera_photoTake"></block>
1617
<block type="coderbot_camera_videoRec"></block>
1718
<block type="coderbot_camera_videoStop"></block>

src/components/Activity.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ export default {
17111711
return code;
17121712
};
17131713
1714-
Blockly.Blocks['coderbot_music_pause_std'] = {
1714+
Blockly.Blocks['coderbot_music_pause_basic'] = {
17151715
init: function() {
17161716
this.appendDummyInput()
17171717
.appendField(new Blockly.FieldImage("/static/images/blocks/pause_symbol.png", 30, 30, { alt: "*", flipRtl: "FALSE" }))
@@ -1724,7 +1724,7 @@ export default {
17241724
}
17251725
};
17261726
1727-
Blockly.Python['coderbot_music_pause_std'] = function(block) {
1727+
Blockly.Python['coderbot_music_pause_basic'] = function(block) {
17281728
var value_duration = 1
17291729
var code = 'get_music().play_pause('+value_duration+')\n';
17301730
return code;

0 commit comments

Comments
 (0)