|
@@ -826,7 +826,13 @@ export abstract class MusicSheetCalculator {
|
|
|
|
|
|
|
|
|
// build the MusicSystems
|
|
|
- const musicSystemBuilder: MusicSystemBuilder = new JustifiedMusicSystemBuilder();
|
|
|
+ let musicSystemBuilder: MusicSystemBuilder;
|
|
|
+ if (this.rules.RenderSingleHorizontalStaffline) {
|
|
|
+ musicSystemBuilder = new MusicSystemBuilder();
|
|
|
+ } else {
|
|
|
+ musicSystemBuilder = new JustifiedMusicSystemBuilder();
|
|
|
+ }
|
|
|
+
|
|
|
musicSystemBuilder.initialize(this.graphicalMusicSheet, visibleMeasureList, numberOfStaffLines);
|
|
|
this.musicSystems = musicSystemBuilder.buildMusicSystems();
|
|
|
|