mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-10 01:51:10 +09:00
fix graph fonts
This commit is contained in:
parent
0c19817aa6
commit
b3be53fcdb
1 changed files with 1 additions and 1 deletions
2
dist/workers/graph.js
vendored
2
dist/workers/graph.js
vendored
|
@ -156,7 +156,7 @@ initFonts = () => {
|
|||
};
|
||||
|
||||
const name = 'Inter';
|
||||
const fontFace = new FontFace(name, `url("../font/inter/regular.ttf") format("truetype")`);
|
||||
const fontFace = new FontFace(name, `url("../font/inter/regular.woff") format("woff")`);
|
||||
|
||||
self.fonts.add(fontFace);
|
||||
fontFace.load().then(() => { fontFamily = name; });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue