Selaa lähdekoodia

removed isGrace from GraphicalVoiceEntry

sschmidTU 7 vuotta sitten
vanhempi
commit
fd2f2bba34
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      src/MusicalScore/Graphical/GraphicalVoiceEntry.ts

+ 1 - 3
src/MusicalScore/Graphical/GraphicalVoiceEntry.ts

@@ -8,17 +8,15 @@ import { GraphicalStaffEntry } from "./GraphicalStaffEntry";
  * The graphical counterpart of a [[VoiceEntry]].
  */
 export class GraphicalVoiceEntry extends GraphicalObject {
-    constructor(parentVoiceEntry: VoiceEntry, parentStaffEntry: GraphicalStaffEntry, isGrace: boolean = false) {
+    constructor(parentVoiceEntry: VoiceEntry, parentStaffEntry: GraphicalStaffEntry) {
         super();
         this.parentVoiceEntry = parentVoiceEntry;
         this.parentStaffEntry = parentStaffEntry;
         this.PositionAndShape = new BoundingBox(this, parentStaffEntry ? parentStaffEntry.PositionAndShape : undefined);
         this.notes = [];
-        this.isGrace = isGrace;
     }
 
     public parentVoiceEntry: VoiceEntry;
     public parentStaffEntry: GraphicalStaffEntry;
     public notes: GraphicalNote[];
-    public isGrace: boolean;
 }