src/MusicalScore/Graphical/GraphicalLyricEntry.ts
Function constructor
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(lyricsEntry: LyricsEntry, graphicalStaffEntry: GraphicalStaffEntry, lyricsHeight: number, staffHeight: number) {
this.lyricsEntry = lyricsEntry;
this.graphicalStaffEntry = graphicalStaffEntry;
const lyricsTextAlignment: TextAlignmentEnum = graphicalStaffEntry.parentMeasure.parentSourceMeasure.Rules.LyricsAlignmentStandard;
// for small notes with long text, use center alignment