Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Jun 1, 2024
1 parent b2c26d3 commit 498e672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edeap/src/other.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function generateSVG({
labelSize = labelSize || "12pt";
valueSize = valueSize || "12pt";

const labelDimensions = textDimentions(state.contours, labelSize);
const labelDimensions = textDimensions(state.contours, labelSize);
const { translateX, translateY, scaling } = findTransformationToFit(
width,
height,
Expand Down Expand Up @@ -419,7 +419,7 @@ function findTransformationToFit(
return { scaling, translateX, translateY };
}

export function textDimentions(
export function textDimensions(
strings: any[],
fontSize: string = "12pt",
fontName: string = "Helvetica"
Expand Down

0 comments on commit 498e672

Please sign in to comment.