@coderline/alphatab 1.3.0-alpha.605 → 1.3.0-alpha.606

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.605 (develop, build 605)
2
+ * alphaTab v1.3.0-alpha.606 (develop, build 606)
3
3
  *
4
4
  * Copyright © 2023, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -17725,7 +17725,7 @@
17725
17725
  checkForFinish() {
17726
17726
  let startTick = 0;
17727
17727
  let endTick = 0;
17728
- if (this.playbackRange) {
17728
+ if (this.playbackRange && this._sequencer.isPlayingMain) {
17729
17729
  startTick = this.playbackRange.startTick;
17730
17730
  endTick = this.playbackRange.endTick;
17731
17731
  }
@@ -27095,7 +27095,11 @@
27095
27095
  // missing result or result not matching layout -> request render
27096
27096
  if (placeholder.renderedResultId !== placeholder.layoutResultId) {
27097
27097
  if (this._resultIdToElementLookup.has(placeholder.layoutResultId)) {
27098
- this._api.renderer.renderResult(placeholder.layoutResultId);
27098
+ if (placeholder.resultState !== ResultState.RenderRequested) {
27099
+ Logger.warning('Rendering', 'Outside Request render of lazy partial ' + placeholder.layoutResultId);
27100
+ placeholder.resultState = ResultState.RenderRequested;
27101
+ this._api.renderer.renderResult(placeholder.layoutResultId);
27102
+ }
27099
27103
  }
27100
27104
  else {
27101
27105
  htmlElement.replaceChildren();
@@ -41396,8 +41400,8 @@
41396
41400
  // </auto-generated>
41397
41401
  class VersionInfo {
41398
41402
  }
41399
- VersionInfo.version = '1.3.0-alpha.605';
41400
- VersionInfo.date = '2023-04-11T01:36:41.857Z';
41403
+ VersionInfo.version = '1.3.0-alpha.606';
41404
+ VersionInfo.date = '2023-04-12T01:38:03.130Z';
41401
41405
 
41402
41406
  var index$5 = /*#__PURE__*/Object.freeze({
41403
41407
  __proto__: null,