Skip to content

Commit 2f2cd47

Browse files
committed
minor lint fixes
1 parent e894efb commit 2f2cd47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/widgets/legobricks.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)