|
@@ -837,7 +837,8 @@ export class OpenSheetMusicDisplay {
|
|
this.drawSkyLine = value;
|
|
this.drawSkyLine = value;
|
|
if (this.drawer) {
|
|
if (this.drawer) {
|
|
this.drawer.skyLineVisible = value;
|
|
this.drawer.skyLineVisible = value;
|
|
- this.render();
|
|
|
|
|
|
+ // this.render(); // note: we probably shouldn't automatically render when someone sets the setter
|
|
|
|
+ // this can cause a lot of rendering time.
|
|
}
|
|
}
|
|
}
|
|
}
|
|
public get DrawSkyLine(): boolean {
|
|
public get DrawSkyLine(): boolean {
|
|
@@ -848,7 +849,8 @@ export class OpenSheetMusicDisplay {
|
|
this.drawBottomLine = value;
|
|
this.drawBottomLine = value;
|
|
if (this.drawer) {
|
|
if (this.drawer) {
|
|
this.drawer.bottomLineVisible = value;
|
|
this.drawer.bottomLineVisible = value;
|
|
- this.render();
|
|
|
|
|
|
+ // this.render(); // note: we probably shouldn't automatically render when someone sets the setter
|
|
|
|
+ // this can cause a lot of rendering time.
|
|
}
|
|
}
|
|
}
|
|
}
|
|
public get DrawBottomLine(): boolean {
|
|
public get DrawBottomLine(): boolean {
|