Skip to content

Commit

Permalink
Fix version detection to not be fooled by 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiefaye committed Feb 14, 2019
1 parent 070f618 commit 62177fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmlView/src/viewXML.js
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ class DelugeDoc {
// let str = this.firmwareVersionFound + "\n" + this.earliestCompatibleFirmware + "\n";
// alert(str);

this.newNoteFormat = !(this.firmwareVersionFound.indexOf('1.2') >= 0 || this.firmwareVersionFound.indexOf('1.3') >= 0);
this.newNoteFormat = !(this.firmwareVersionFound.indexOf('1.2.') >= 0 || this.firmwareVersionFound.indexOf('1.3.') >= 0);
this.version2x = this.firmwareVersionFound.indexOf('>2.') >= 0;
this.newSynthNames = !!this.earliestCompatibleFirmware;

Expand Down

0 comments on commit 62177fb

Please sign in to comment.