File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1379,7 +1379,7 @@ function LegoWidget() {
13791379 const voiceLabels = [
13801380 _ ( "Electronic Synth" ) ,
13811381 _ ( "Piano" ) ,
1382- _ ( "Guitar" ) ,
1382+ _ ( "Guitar" ) ,
13831383 _ ( "Acoustic Guitar" ) ,
13841384 _ ( "Electric Guitar" ) ,
13851385 _ ( "Violin" ) ,
@@ -1402,7 +1402,7 @@ function LegoWidget() {
14021402
14031403 const voiceValues = [
14041404 "electronic synth" ,
1405- "piano" ,
1405+ "piano" ,
14061406 "guitar" ,
14071407 "acoustic guitar" ,
14081408 "electric guitar" ,
@@ -1512,7 +1512,7 @@ function LegoWidget() {
15121512 // Set up the text update callback to update our button
15131513 mockBlock . text . _updateCallback = ( newText ) => {
15141514 // Update the instrument when text is set by pie menu
1515- const newInstrument = voiceValues [ voiceLabels . findIndex ( label =>
1515+ const newInstrument = voiceValues [ voiceLabels . findIndex ( label =>
15161516 label . toLowerCase ( ) === newText . toLowerCase ( )
15171517 ) ] || newText . toLowerCase ( ) ;
15181518
You can’t perform that action at this time.
0 commit comments