@coderline/alphatab 1.3.0-alpha.135 → 1.3.0-alpha.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alphaTab.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * alphaTab v1.3.0-alpha.135 (develop, build 135)
2
+ * alphaTab v1.3.0-alpha.136 (develop, build 136)
3
3
  *
4
4
  * Copyright © 2021, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -6920,6 +6920,9 @@ class AlphaTexImporter extends ScoreImporter {
6920
6920
  break;
6921
6921
  }
6922
6922
  }
6923
+ isNoteText(txt) {
6924
+ return txt === 'x' || txt === '-' || txt === 'r';
6925
+ }
6923
6926
  note(beat) {
6924
6927
  // fret.string
6925
6928
  let isDead = false;
@@ -7322,7 +7325,7 @@ class AlphaTexImporter extends ScoreImporter {
7322
7325
  let text = this._syData;
7323
7326
  this._sy = this.newSy();
7324
7327
  let marker = '';
7325
- if (this._sy === AlphaTexSymbols.String) {
7328
+ if (this._sy === AlphaTexSymbols.String && !this.isNoteText(this._syData.toLowerCase())) {
7326
7329
  marker = text;
7327
7330
  text = this._syData;
7328
7331
  this._sy = this.newSy();
@@ -40272,8 +40275,8 @@ class CoreSettings {
40272
40275
  // </auto-generated>
40273
40276
  class VersionInfo {
40274
40277
  }
40275
- VersionInfo.version = '1.3.0-alpha.135';
40276
- VersionInfo.date = '2021-11-28T15:06:34.564Z';
40278
+ VersionInfo.version = '1.3.0-alpha.136';
40279
+ VersionInfo.date = '2021-11-28T16:51:01.877Z';
40277
40280
 
40278
40281
  var index$5 = /*#__PURE__*/Object.freeze({
40279
40282
  __proto__: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderline/alphatab",
3
- "version": "1.3.0-alpha.135",
3
+ "version": "1.3.0-alpha.136",
4
4
  "description": "alphaTab is a music notation and guitar tablature rendering library",
5
5
  "keywords": [
6
6
  "guitar",