Merge branch 'fix-character-sheet-not-loading' into 'master'
Fix a bug where character sheets would not load See merge request dungeonslayers/ds4!123
This commit is contained in:
commit
c98b34cc9b
2 changed files with 1 additions and 2 deletions
|
@ -36,6 +36,6 @@ declare global {
|
|||
|
||||
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}`)));
|
||||
}
|
||||
|
|
|
@ -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/creature-inventory.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/spells.hbs",
|
||||
"systems/ds4/templates/sheets/actor/tabs/values.hbs",
|
||||
|
|
Loading…
Reference in a new issue