Skip to content

Commit

Permalink
inspector font load
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW committed May 17, 2024
1 parent 89982e4 commit 17ad523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/inspector/src/inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class Inspector {
};

// load the font, unless asked to skip it
if (!options.skipDefaultFontLoading || (globalThis as any)?.BABYLON_SKIP_FONT_LOADING !== true) {
if (!options.skipDefaultFontLoading && !(globalThis as any)?.BABYLON_SKIP_FONT_LOADING) {
const font = document.createElement("link");
font.rel = "stylesheet";
font.href = "https://use.typekit.net/cta4xsb.css";
Expand Down

0 comments on commit 17ad523

Please sign in to comment.