Andrea Condoluci 9 年之前
父節點
當前提交
ba57a8b421
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 9 9
      src/MusicalScore/Graphical/StaffMeasure.ts
  2. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowMeasure.ts

+ 9 - 9
src/MusicalScore/Graphical/StaffMeasure.ts

@@ -86,32 +86,32 @@ export class StaffMeasure extends GraphicalObject {
         }
     }
 
-    public ResetLayout(): void {
+    public resetLayout(): void {
     }
 
-    public GetLineWidth(line: SystemLinesEnum): number {
+    public getLineWidth(line: SystemLinesEnum): number {
         return undefined;
     }
 
-    public AddClefAtBegin(clef: ClefInstruction): void {
+    public addClefAtBegin(clef: ClefInstruction): void {
     }
 
-    public AddKeyAtBegin(currentKey: KeyInstruction, previousKey: KeyInstruction, currentClef: ClefInstruction): void {
+    public addKeyAtBegin(currentKey: KeyInstruction, previousKey: KeyInstruction, currentClef: ClefInstruction): void {
     }
 
-    public AddRhythmAtBegin(rhythm: RhythmInstruction): void {
+    public addRhythmAtBegin(rhythm: RhythmInstruction): void {
     }
 
-    public AddClefAtEnd(clef: ClefInstruction): void {
+    public addClefAtEnd(clef: ClefInstruction): void {
     }
 
-    public SetPositionInStaffline(xPos: number): void {
+    public setPositionInStaffline(xPos: number): void {
     }
 
-    public SetWidth(width: number): void {
+    public setWidth(width: number): void {
     }
 
-    public LayoutSymbols(): void {
+    public layoutSymbols(): void {
     }
 
     public findGraphicalStaffEntryFromTimestamp(relativeTimestamp: Fraction): GraphicalStaffEntry {

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

@@ -126,7 +126,7 @@ export class VexFlowMeasure extends StaffMeasure {
      * Sets the overall x-width of the measure.
      * @param width
      */
-    public SetWidth(width: number): void {
+    public setWidth(width: number): void {
         // Widths in PS and VexFlow work differently.
         // In VexFlow, width is only the width of the actual voices, without considering
         // modifiers like clefs. In PS, width is the total width of the stave.