@coderline/alphatab 1.3.0-alpha.694 → 1.3.0-alpha.699

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * alphaTab v1.3.0-alpha.694 (develop, build 694)
2
+ * alphaTab v1.3.0-alpha.699 (develop, build 699)
3
3
  *
4
4
  * Copyright © 2023, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -31750,10 +31750,13 @@
31750
31750
  // load the effect from the previous renderer if possible.
31751
31751
  let previousRenderer = this.renderer
31752
31752
  .previousRenderer;
31753
- let previousBand = previousRenderer.getBand(this.voice, this.info.effectId);
31754
- let voiceGlyphs = previousBand._effectGlyphs[b.voice.index];
31755
- if (voiceGlyphs.has(prevBeat.index)) {
31756
- prevEffect = voiceGlyphs.get(prevBeat.index);
31753
+ let previousBand = previousRenderer.getBand(prevBeat.voice, this.info.effectId);
31754
+ // it can happen that we have an empty voice and then we don't have an effect band
31755
+ if (previousBand) {
31756
+ let voiceGlyphs = previousBand._effectGlyphs[prevBeat.voice.index];
31757
+ if (voiceGlyphs.has(prevBeat.index)) {
31758
+ prevEffect = voiceGlyphs.get(prevBeat.index);
31759
+ }
31757
31760
  }
31758
31761
  }
31759
31762
  // if the effect cannot be expanded, create a new glyph
@@ -41686,8 +41689,8 @@
41686
41689
  // </auto-generated>
41687
41690
  class VersionInfo {
41688
41691
  }
41689
- VersionInfo.version = '1.3.0-alpha.694';
41690
- VersionInfo.date = '2023-07-07T02:02:30.846Z';
41692
+ VersionInfo.version = '1.3.0-alpha.699';
41693
+ VersionInfo.date = '2023-07-12T02:02:14.105Z';
41691
41694
 
41692
41695
  var index$5 = /*#__PURE__*/Object.freeze({
41693
41696
  __proto__: null,