Skip to content

Commit

Permalink
Removed reference to non-existing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
looptailG committed May 26, 2024
1 parent 8ae539c commit effffd6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/31EdoTuner.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MuseScore
{
menuPath: "Plugins.Tuner.31EDO";
description: "Retune the selection, or the whole score if nothing is selected, to 31EDO.";
version: "1.5.2";
version: "1.5.3";

Component.onCompleted:
{
Expand Down Expand Up @@ -602,14 +602,14 @@ MuseScore
*/
function getAccidentalEdoSteps(accidentalName)
{
var accidental = supportedAccidentals[accidentalName]["EDO_STEPS"];
if (accidental !== undefined)
var edoSteps = supportedAccidentals[accidentalName]["EDO_STEPS"];
if (edoSteps !== undefined)
{
return accidental;
return edoSteps;
}
else
{
throw "Could not find the following accidental in the accidentals mapping: " + note.accidentalType;
throw "Could not find the following accidental in the accidentals mapping: " + accidentalName;
}
}

Expand Down

0 comments on commit effffd6

Please sign in to comment.