|
@@ -38,7 +38,9 @@ export class VexFlowMusicSystem extends MusicSystem {
|
|
protected createSystemLine(xPosition: number, lineWidth: number, lineType: SystemLinesEnum, linePosition: SystemLinePosition,
|
|
protected createSystemLine(xPosition: number, lineWidth: number, lineType: SystemLinesEnum, linePosition: SystemLinePosition,
|
|
musicSystem: MusicSystem, topMeasure: StaffMeasure, bottomMeasure: StaffMeasure = undefined): SystemLine {
|
|
musicSystem: MusicSystem, topMeasure: StaffMeasure, bottomMeasure: StaffMeasure = undefined): SystemLine {
|
|
if (bottomMeasure) {
|
|
if (bottomMeasure) {
|
|
- (bottomMeasure as VexFlowMeasure).lineTo(topMeasure as VexFlowMeasure, VexFlowConverter.line(lineType));
|
|
|
|
|
|
+ // ToDo: feature/Repetitions
|
|
|
|
+ // create here the correct lines according to the given lineType.
|
|
|
|
+ (bottomMeasure as VexFlowMeasure).lineTo(topMeasure as VexFlowMeasure, VexFlowConverter.line(lineType));
|
|
}
|
|
}
|
|
return new SystemLine(lineType, linePosition, this, topMeasure, bottomMeasure);
|
|
return new SystemLine(lineType, linePosition, this, topMeasure, bottomMeasure);
|
|
}
|
|
}
|