feat: logo de pause Célestopol 1922

- Hook renderPause remplace le logo Foundry par assets/ui/logo_jeu.png
- CSS : suppression rotation, ombre dorée, texte 'PAUSED' masqué

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-31 00:58:19 +02:00
parent a316fb9c61
commit 6fa09cc27d
2 changed files with 24 additions and 0 deletions

View File

@@ -119,6 +119,16 @@ Hooks.once("init", () => {
/* ─── Ready hook ─────────────────────────────────────────────────────────── */
// Remplace le logo de pause par celui du jeu
Hooks.on("renderPause", (_app, html) => {
const root = html instanceof HTMLElement ? html : html[0]
if (!root) return
const img = root.tagName === "IMG" ? root : root.querySelector("img")
if (img) img.src = "systems/fvtt-celestopol/assets/ui/logo_jeu.png"
})
/* ─── Ready hook ─────────────────────────────────────────────────────────── */
Hooks.once("ready", () => {
console.log(`${SYSTEM_ID} | System ready`)