Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
forgot to merge it from audio player
  • Loading branch information
sschmidTU committed May 21, 2024
1 parent 3ec051c commit aa1472e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MusicalScore/Graphical/GraphicalMusicSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,7 @@ export class GraphicalMusicSheet {
let fraction: number;
let interpolatedXPosition: number;
if (currentTimeStamp < nextSystemLeftBorderTimeStamp && previousStaffEntryMusicSystem.StaffLines[0]) {
// previousStaffEntryMusicSystem.StaffLines[0]: fix for drawing range set (previous system not rendered)
currentMusicSystem = previousStaffEntryMusicSystem;
const previousStaffEntryPositionX: number = previousStaffEntry.PositionAndShape.AbsolutePosition.x;
const previousSystemRightBorderX: number = currentMusicSystem.GetRightBorderAbsoluteXPosition();
Expand Down

0 comments on commit aa1472e

Please sign in to comment.