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 354b199 commit 119b84e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/22EdoTuner.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MuseScore
{
menuPath: "Plugins.Tuner.22EDO";
description: "Retune the selection, or the whole score if nothing is selected, to 22EDO.";
version: "1.1.3";
version: "1.1.4";

Component.onCompleted:
{
Expand Down Expand Up @@ -733,14 +733,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 119b84e

Please sign in to comment.