sschmid 5 年之前
父节点
当前提交
1b9b2860a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowMusicSheetCalculator.ts

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowMusicSheetCalculator.ts

@@ -98,7 +98,7 @@ export class VexFlowMusicSheetCalculator extends MusicSheetCalculator {
         // const t0: number = performance.now();
         if (true || this.beamsNeedUpdate) {
           // finalizeBeams takes a few milliseconds, so we can save some performance here sometimes,
-          // but we'd have to check for every setting change that would affect beam rendering.
+          // but we'd have to check for every setting change that would affect beam rendering. See #843
           (measure as VexFlowMeasure).finalizeBeams(); // without this, when zooming a lot (e.g. 250%), beams keep their old, now wrong slope.
           // totalFinalizeBeamsTime += performance.now() - t0;
           // console.log("Total calls to finalizeBeams in VexFlowMusicSheetCalculator took " + totalFinalizeBeamsTime + " milliseconds.");