Skip to content

Commit

Permalink
remove unused metrics, fix cut/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidNewman committed Jun 13, 2021
1 parent 3073979 commit ef4e394
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/fonts/bravura_metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export const BravuraMetrics = {
stave: {
padding: 12,
endPaddingMax: 10,
endPaddingMin: 5,
unalignedNotePadding: 10
endPaddingMin: 5
},

clef: {
Expand Down
3 changes: 1 addition & 2 deletions src/fonts/gonville_metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ export const GonvilleMetrics = {
stave: {
padding: 12,
endPaddingMax: 10,
endPaddingMin: 5,
unalignedNotePadding: 10
endPaddingMin: 5
},

clef: {
Expand Down
3 changes: 1 addition & 2 deletions src/fonts/petaluma_metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export const PetalumaMetrics = {
stave: {
padding: 15,
endPaddingMax: 15,
endPaddingMin: 7,
unalignedNotePadding: 12
endPaddingMin: 7
},

clef: {
Expand Down
3 changes: 1 addition & 2 deletions tests/formatter_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* VexFlow - TickContext Tests
* Copyright Mohit Muthanna 2010 <mohit@muthanna.com>
*/
import { Stave } from '../releases/vexflow-tests';
import { MockTickable } from './mocks';

const FormatterTests = (function () {
Expand Down Expand Up @@ -531,7 +530,7 @@ const FormatterTests = (function () {
},

mixTime: function (options) {
var vf = VF.Test.makeFactory(options, 400 + Stave.defaultPadding, 250);
var vf = VF.Test.makeFactory(options, 400 + VF.Stave.defaultPadding, 250);
vf.getContext().scale(0.8, 0.8);
var score = vf.EasyScore();
var system = vf.System({
Expand Down

0 comments on commit ef4e394

Please sign in to comment.