Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed May 15, 2021
1 parent ebed3bc commit 09944b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/textdynamics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Note } from './note';
import { Glyph } from './glyph';
import { TextNoteStruct } from './textnote';
import { check } from './common';
import { Stave } from './stave';

// To enable logging for this class. Set `Vex.Flow.TextDynamics.DEBUG` to `true`.
function L(
Expand Down Expand Up @@ -113,7 +112,7 @@ export class TextDynamics extends Note {
draw(): void {
this.setRendered();
const x = this.getAbsoluteX();
const y = check<Stave>(this.stave).getYForLine(this.line + -3);
const y = this.checkStave().getYForLine(this.line + -3);

L('Rendering Dynamics: ', this.sequence);

Expand Down

0 comments on commit 09944b7

Please sign in to comment.