Skip to content

Commit

Permalink
increase timeout for font loading (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfig committed Jul 17, 2023
1 parent 882aab9 commit 861fd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gridGL/loadAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function complete(resolve: Function) {

function loadFont(resolve: Function, fontName: string): void {
const font = new FontFaceObserver(fontName);
font.load().then(() => complete(resolve));
font.load(null, 100000).then(() => complete(resolve));
}

export function loadAssets(): Promise<void> {
Expand Down

1 comment on commit 861fd76

@vercel
Copy link

@vercel vercel bot commented on 861fd76 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

quadratic – ./

quadratic-nu.vercel.app
quadratic-git-main-quadratic.vercel.app
quadratic-quadratic.vercel.app

Please sign in to comment.