From 961ec862be97b8d7fbe68aa76150e826579e4c0c Mon Sep 17 00:00:00 2001 From: Idle <651462+reonZ@users.noreply.github.com> Date: Sat, 30 Nov 2024 23:18:20 +0100 Subject: [PATCH] switch from hud to panel --- src/hud/dice.ts | 4 ++-- templates/dice/{hud.hbs => panel.hbs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename templates/dice/{hud.hbs => panel.hbs} (100%) diff --git a/src/hud/dice.ts b/src/hud/dice.ts index e76bcb1..1ac4c5f 100644 --- a/src/hud/dice.ts +++ b/src/hud/dice.ts @@ -28,7 +28,7 @@ class PF2eHudDice extends PF2eHudDirectory { } get templates(): string[] { - return ["hud"]; + return ["panel"]; } _onEnable(enabled = this.enabled): void { @@ -51,7 +51,7 @@ class PF2eHudDice extends PF2eHudDirectory { } async _renderHTML(context: DiceContext, options: DiceRenderOptions): Promise { - return await this.renderTemplate("hud", context); + return await this.renderTemplate("panel", context); } _replaceHTML(result: string, content: HTMLElement, options: DiceRenderOptions): void { diff --git a/templates/dice/hud.hbs b/templates/dice/panel.hbs similarity index 100% rename from templates/dice/hud.hbs rename to templates/dice/panel.hbs