Fix a bug where character sheets would not load
This commit is contained in:
parent
8633afa1d2
commit
d7fbc458b0
2 changed files with 1 additions and 2 deletions
|
@ -36,6 +36,6 @@ declare global {
|
||||||
|
|
||||||
const fonts = ["Lora", "Wood Stamp"];
|
const fonts = ["Lora", "Wood Stamp"];
|
||||||
|
|
||||||
export async function preloadFonts() {
|
export async function preloadFonts(): Promise<FontFace[][]> {
|
||||||
return Promise.all(fonts.map((font) => document.fonts.load(`1rem ${font}`)));
|
return Promise.all(fonts.map((font) => document.fonts.load(`1rem ${font}`)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,6 @@ export default async function registerHandlebarsPartials(): Promise<void> {
|
||||||
"systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/description.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/description.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/profile.hbs",
|
|
||||||
"systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/spells.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/spells.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/values.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/values.hbs",
|
||||||
|
|
Loading…
Reference in a new issue