Skip to content

Commit

Permalink
fix: var
Browse files Browse the repository at this point in the history
  • Loading branch information
pecoram committed Jan 22, 2025
1 parent 3fbdfe5 commit 23b4c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/text-rendering/font-face-types/WebTrFontFace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class WebTrFontFace extends TrFontFace {
Object.entries(cssDescriptors).filter(([, value]) => value !== undefined),
);

var fontFace = new FontFace(
const fontFace = new FontFace(
fontFamily,
`url(${fontUrlWithoutParentheses})`,
cssDescriptors,
Expand Down

0 comments on commit 23b4c2b

Please sign in to comment.