Skip to content

Commit

Permalink
FIXES ISSUE #4000 Regression: 'Set Default Instrument' Block Converts…
Browse files Browse the repository at this point in the history
… to 'Unknown' Block (#4006)

By this commit the set default instrument block is working fine.
  • Loading branch information
omsuneri authored Sep 14, 2024
1 parent 3a1010f commit ff2b5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/blocks/ToneBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ function setupToneBlocks(activity) {
""
]);
this.makeMacro((x, y) => [
[0, "setdefaultvoice", x, y, [null, 1, null]],
[0, "setdefaultinstrument", x, y, [null, 1, null]],
[1, ["voicename", { value: DEFAULTVOICE }], 0, 0, [0]]
]);

Expand Down

0 comments on commit ff2b5bf

Please sign in to comment.