|
@@ -35,7 +35,7 @@ import { DynamicsCalculator } from "../MusicalScore/ScoreIO/MusicSymbolModules/D
|
|
|
* After the constructor, use load() and render() to load and render a MusicXML file.
|
|
|
*/
|
|
|
export class OpenSheetMusicDisplay {
|
|
|
- private version: string = "1.8.1-audio-extended"; // getter: this.Version
|
|
|
+ private version: string = "1.8.2-audio-extended"; // getter: this.Version
|
|
|
// at release, bump version and change to -release, afterwards to -dev again
|
|
|
|
|
|
/**
|
|
@@ -344,6 +344,7 @@ export class OpenSheetMusicDisplay {
|
|
|
this.zoomUpdated = false;
|
|
|
//need to init values
|
|
|
this.interactionManager.displaySizeChanged(this.container.clientWidth, this.container.clientHeight);
|
|
|
+ this.rules.RenderCount++;
|
|
|
//console.log("[OSMD] render finished");
|
|
|
}
|
|
|
|
|
@@ -810,6 +811,7 @@ export class OpenSheetMusicDisplay {
|
|
|
this.sheet = undefined;
|
|
|
this.graphic = undefined;
|
|
|
this.zoom = 1.0;
|
|
|
+ this.rules.RenderCount = 0;
|
|
|
}
|
|
|
|
|
|
/**
|