Skip to content

Commit

Permalink
switch from hud to panel
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Nov 30, 2024
1 parent 8c04d88 commit 961ec86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hud/dice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PF2eHudDice extends PF2eHudDirectory<DiceSettings, DiceRenderOptions> {
}

get templates(): string[] {
return ["hud"];
return ["panel"];
}

_onEnable(enabled = this.enabled): void {
Expand All @@ -51,7 +51,7 @@ class PF2eHudDice extends PF2eHudDirectory<DiceSettings, DiceRenderOptions> {
}

async _renderHTML(context: DiceContext, options: DiceRenderOptions): Promise<string> {
return await this.renderTemplate("hud", context);
return await this.renderTemplate("panel", context);
}

_replaceHTML(result: string, content: HTMLElement, options: DiceRenderOptions): void {
Expand Down
File renamed without changes.

0 comments on commit 961ec86

Please sign in to comment.