1
0
Fork 0
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:
Andrew Simachev 2023-04-14 12:54:14 +03:00
parent 0c19817aa6
commit b3be53fcdb
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -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; });