Skip to content

Commit

Permalink
docstring for PercussionOneLineCutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
sschmid committed Jan 22, 2021
1 parent 026db91 commit 87e3523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MusicalScore/Graphical/EngravingRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class EngravingRules {
public FlatBeamOffsetPerBeam: number;
public ClefLeftMargin: number;
public ClefRightMargin: number;
/** How many unique note positions a percussion score needs to have to not be rendered on one line. */
public PercussionOneLineCutoff: number;
public PercussionForceVoicesOneLineCutoff: number;
public BetweenKeySymbolsDistance: number;
Expand Down Expand Up @@ -333,7 +334,7 @@ export class EngravingRules {
// Beam Sizing Variables
this.ClefLeftMargin = 0.5;
this.ClefRightMargin = 0.75;
this.PercussionOneLineCutoff = 3;
this.PercussionOneLineCutoff = 3; // percussion parts with <3 unique note positions rendered on one line
this.PercussionForceVoicesOneLineCutoff = 1;
this.BetweenKeySymbolsDistance = 0.2;
this.KeyRightMargin = 0.75;
Expand Down

0 comments on commit 87e3523

Please sign in to comment.