Skip to content

Commit 74a811b

Browse files
author
Walter Bender
committed
linting
1 parent 1aad5bb commit 74a811b

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

js/piemenus.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ const piemenuPitches = (block, noteLabels, noteValues, accidentals, note, accide
356356
0,
357357
Math.round(
358358
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
359-
canvasLeft
359+
canvasLeft
360360
) - halfWheelSize
361361
)
362362
) + "px";
@@ -367,7 +367,7 @@ const piemenuPitches = (block, noteLabels, noteValues, accidentals, note, accide
367367
0,
368368
Math.round(
369369
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
370-
canvasTop
370+
canvasTop
371371
) - halfWheelSize
372372
)
373373
) + "px";
@@ -431,8 +431,8 @@ const piemenuPitches = (block, noteLabels, noteValues, accidentals, note, accide
431431
(block.name === "notename" &&
432432
(block.connections[0] != undefined
433433
? !["setkey", "setkey2"].includes(
434-
block.blocks.blockList[block.connections[0]].name
435-
)
434+
block.blocks.blockList[block.connections[0]].name
435+
)
436436
: true)))
437437
) {
438438
if (scale[6 - i][0] === FIXEDSOLFEGE[note] || scale[6 - i][0] === note) {
@@ -670,8 +670,8 @@ const piemenuPitches = (block, noteLabels, noteValues, accidentals, note, accide
670670
(that.name === "notename" &&
671671
(that.connections[0] != undefined
672672
? !["setkey", "setkey2"].includes(
673-
that.blocks.blockList[that.connections[0]].name
674-
)
673+
that.blocks.blockList[that.connections[0]].name
674+
)
675675
: true))
676676
) {
677677
let i = scale.indexOf(selection["note"]);
@@ -1054,7 +1054,7 @@ const piemenuCustomNotes = (block, noteLabels, customLabels, selectedCustom, sel
10541054
0,
10551055
Math.round(
10561056
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
1057-
canvasLeft
1057+
canvasLeft
10581058
) - 200
10591059
)
10601060
) + "px";
@@ -1065,7 +1065,7 @@ const piemenuCustomNotes = (block, noteLabels, customLabels, selectedCustom, sel
10651065
0,
10661066
Math.round(
10671067
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
1068-
canvasTop
1068+
canvasTop
10691069
) - 200
10701070
)
10711071
) + "px";
@@ -1560,7 +1560,7 @@ const piemenuAccidentals = (block, accidentalLabels, accidentalValues, accidenta
15601560
0,
15611561
Math.round(
15621562
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
1563-
canvasLeft
1563+
canvasLeft
15641564
) - 200
15651565
)
15661566
) + "px";
@@ -1571,7 +1571,7 @@ const piemenuAccidentals = (block, accidentalLabels, accidentalValues, accidenta
15711571
0,
15721572
Math.round(
15731573
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
1574-
canvasTop
1574+
canvasTop
15751575
) - 200
15761576
)
15771577
) + "px";
@@ -2436,7 +2436,7 @@ const piemenuBasic = (block, menuLabels, menuValues, selectedValue, colors) => {
24362436
0,
24372437
Math.round(
24382438
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
2439-
canvasLeft
2439+
canvasLeft
24402440
) - 200
24412441
)
24422442
) + "px";
@@ -2447,7 +2447,7 @@ const piemenuBasic = (block, menuLabels, menuValues, selectedValue, colors) => {
24472447
0,
24482448
Math.round(
24492449
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
2450-
canvasTop
2450+
canvasTop
24512451
) - 200
24522452
)
24532453
) + "px";
@@ -2541,7 +2541,7 @@ const piemenuBoolean = (block, booleanLabels, booleanValues, boolean) => {
25412541
0,
25422542
Math.round(
25432543
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
2544-
canvasLeft
2544+
canvasLeft
25452545
) - 200
25462546
)
25472547
) + "px";
@@ -2552,7 +2552,7 @@ const piemenuBoolean = (block, booleanLabels, booleanValues, boolean) => {
25522552
0,
25532553
Math.round(
25542554
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
2555-
canvasTop
2555+
canvasTop
25562556
) - 200
25572557
)
25582558
) + "px";
@@ -2669,7 +2669,7 @@ const piemenuChords = (block, selectedChord) => {
26692669
0,
26702670
Math.round(
26712671
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
2672-
canvasLeft
2672+
canvasLeft
26732673
) - 200
26742674
)
26752675
) + "px";
@@ -2680,7 +2680,7 @@ const piemenuChords = (block, selectedChord) => {
26802680
0,
26812681
Math.round(
26822682
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
2683-
canvasTop
2683+
canvasTop
26842684
) - 200
26852685
)
26862686
) + "px";
@@ -2849,7 +2849,7 @@ const piemenuVoices = (block, voiceLabels, voiceValues, categories, voice, rotat
28492849
0,
28502850
Math.round(
28512851
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
2852-
canvasLeft
2852+
canvasLeft
28532853
) - 200
28542854
)
28552855
) + "px";
@@ -2860,7 +2860,7 @@ const piemenuVoices = (block, voiceLabels, voiceValues, categories, voice, rotat
28602860
0,
28612861
Math.round(
28622862
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
2863-
canvasTop
2863+
canvasTop
28642864
) - 200
28652865
)
28662866
) + "px";
@@ -2989,7 +2989,7 @@ const piemenuIntervals = (block, selectedInterval) => {
29892989
0,
29902990
Math.round(
29912991
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
2992-
canvasLeft
2992+
canvasLeft
29932993
) - 200
29942994
)
29952995
) + "px";
@@ -3000,7 +3000,7 @@ const piemenuIntervals = (block, selectedInterval) => {
30003000
0,
30013001
Math.round(
30023002
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
3003-
canvasTop
3003+
canvasTop
30043004
) - 200
30053005
)
30063006
) + "px";
@@ -3475,7 +3475,7 @@ const piemenuModes = (block, selectedMode) => {
34753475
0,
34763476
Math.round(
34773477
(x + block.activity.blocksContainer.x) * block.activity.getStageScale() +
3478-
canvasLeft
3478+
canvasLeft
34793479
) - 200
34803480
)
34813481
) + "px";
@@ -3486,7 +3486,7 @@ const piemenuModes = (block, selectedMode) => {
34863486
0,
34873487
Math.round(
34883488
(y + block.activity.blocksContainer.y) * block.activity.getStageScale() +
3489-
canvasTop
3489+
canvasTop
34903490
) - 200
34913491
)
34923492
) + "px";
@@ -4033,9 +4033,9 @@ const piemenuKey = activity => {
40334033
activity.KeySignatureEnv[1];
40344034
activity.textMsg(
40354035
_("You have chosen key for your pitch preview.") +
4036-
activity.KeySignatureEnv[0] +
4037-
" " +
4038-
activity.KeySignatureEnv[1]
4036+
activity.KeySignatureEnv[0] +
4037+
" " +
4038+
activity.KeySignatureEnv[1]
40394039
);
40404040
}
40414041
}

0 commit comments

Comments
 (0)