Skip to content

Commit

Permalink
use softmax value in TABLES
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidNewman committed May 6, 2022
1 parent 06a1540 commit 4386c65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ import { isNote, isStaveNote } from './typeguard';
import { defined, log, midLine, RuntimeError } from './util';
import { Voice } from './voice';

// Default softmax. Can be set on measure level with FormatterOptions
// or globally by changing the default
export let softmaxDefault = 100;
export const setSoftmaxDefault = (value: number) => {
softmaxDefault = value;
};
export const getSoftmaxDefault = () => {
return softmaxDefault;
};

interface Distance {
maxNegativeShiftPx: number;
expectedDistance: number;
Expand Down
1 change: 0 additions & 1 deletion src/voice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import { BoundingBox } from './boundingbox';
import { Element } from './element';
import { softmaxDefault } from './formatter';
import { Fraction } from './fraction';
import { RenderContext } from './rendercontext';
import { Stave } from './stave';
Expand Down

0 comments on commit 4386c65

Please sign in to comment.