Skip to content

Commit 576bd45

Browse files
committed
[CHANGE] to use addNoteInput
1 parent 0cd4213 commit 576bd45

File tree

1 file changed

+1
-1
lines changed
  • src/lib/ruby-to-blocks-converter

1 file changed

+1
-1
lines changed

src/lib/ruby-to-blocks-converter/music.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const MusicConverter = {
3636
const beats = args[0].get('sym:beats');
3737
if (this._isNumberOrBlock(note) && this._isNumberOrBlock(beats)) {
3838
block = this._createBlock('music_playNoteForBeats', 'statement');
39-
this._addNumberInput(block, 'NOTE', 'math_number', note, 60);
39+
this._addNoteInput(block, 'NOTE', note, 60);
4040
this._addNumberInput(block, 'BEATS', 'math_number', beats, 0.25);
4141
}
4242
}

0 commit comments

Comments
 (0)