Skip to content

Commit fe7b640

Browse files
author
Antonino Tramontana
committed
added note block
1 parent 2bf988d commit fe7b640

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/components/Activity.vue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,23 @@ export default {
16651665
}
16661666
};
16671667
1668+
1669+
Blockly.Blocks['coderbot_music_note_sol'] = {
1670+
init: function() {
1671+
this.appendDummyInput()
1672+
.appendField(new Blockly.FieldImage("https://www.gstatic.com/codesite/ph/images/s tar_on.gif", 30, 30, "25"));
1673+
this.appendDummyInput()
1674+
.setAlign(Blockly.ALIGN_CENTRE)
1675+
.appendField("SOL");
1676+
this.setPreviousStatement(true, null);
1677+
this.setNextStatement(true, null);
1678+
this.setColour(230);
1679+
this.setTooltip("nota SOL");
1680+
this.setHelpUrl("");
1681+
}
1682+
};
1683+
1684+
16681685
Blockly.Python['coderbot_audio_listen'] = function(block) {
16691686
// Boolean values true and false.
16701687
var model = block.getFieldValue('MODEL');

0 commit comments

Comments
 (0)