Skip to content

Commit

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

By this commit the set default instrument block is working fine.
  • Loading branch information
omsuneri authored Sep 14, 2024
1 parent 3a1010f commit 07a88ba
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 07a88ba

Please sign in to comment.