Fix logo
This commit is contained in:
@@ -320,7 +320,8 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #084a74;
|
color: #084a74;
|
||||||
}
|
}
|
||||||
#pause img {
|
#pause > img {
|
||||||
|
content: url("../assets/logos/oath_hammer_pause_logo.webp");
|
||||||
animation: none;
|
animation: none;
|
||||||
width: 260px;
|
width: 260px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
@@ -270,7 +270,8 @@
|
|||||||
// PAUSE OVERLAY — replace default Foundry spinner with system logo
|
// PAUSE OVERLAY — replace default Foundry spinner with system logo
|
||||||
// ============================================================
|
// ============================================================
|
||||||
#pause {
|
#pause {
|
||||||
img {
|
& > img {
|
||||||
|
content: url("../assets/logos/oath_hammer_pause_logo.webp");
|
||||||
animation: none;
|
animation: none;
|
||||||
width: 260px;
|
width: 260px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const defaultItemImg = {
|
|||||||
equipment: "systems/fvtt-oath-hammer/assets/icons/icon_equipment.svg",
|
equipment: "systems/fvtt-oath-hammer/assets/icons/icon_equipment.svg",
|
||||||
spell: "systems/fvtt-oath-hammer/assets/icons/icon_spell.svg",
|
spell: "systems/fvtt-oath-hammer/assets/icons/icon_spell.svg",
|
||||||
miracle: "systems/fvtt-oath-hammer/assets/icons/icon_miracle.svg",
|
miracle: "systems/fvtt-oath-hammer/assets/icons/icon_miracle.svg",
|
||||||
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magic_item.svg",
|
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magicitem.svg",
|
||||||
trait: "systems/fvtt-oath-hammer/assets/icons/icon_ability.svg",
|
trait: "systems/fvtt-oath-hammer/assets/icons/icon_ability.svg",
|
||||||
oath: "systems/fvtt-oath-hammer/assets/icons/icon_oath.svg",
|
oath: "systems/fvtt-oath-hammer/assets/icons/icon_oath.svg",
|
||||||
building: "systems/fvtt-oath-hammer/assets/icons/icon_building.svg",
|
building: "systems/fvtt-oath-hammer/assets/icons/icon_building.svg",
|
||||||
|
|||||||
@@ -167,12 +167,3 @@ Hooks.on("renderChatMessageHTML", (message, html) => {
|
|||||||
// Inject Free Roll bar into the chat sidebar
|
// Inject Free Roll bar into the chat sidebar
|
||||||
Hooks.on("renderChatLog", (_chatLog, html) => injectFreeRollBar(_chatLog, html))
|
Hooks.on("renderChatLog", (_chatLog, html) => injectFreeRollBar(_chatLog, html))
|
||||||
|
|
||||||
// Replace the Foundry pause image with the system logo
|
|
||||||
function _applyPauseLogo() {
|
|
||||||
const img = document.querySelector("#pause img")
|
|
||||||
if (!img) return
|
|
||||||
img.src = "systems/fvtt-oath-hammer/assets/logos/oath_hammer_pause_logo.webp"
|
|
||||||
img.classList.remove("fa-spin")
|
|
||||||
}
|
|
||||||
Hooks.on("pauseGame", (paused) => { if (paused) setTimeout(_applyPauseLogo, 50) })
|
|
||||||
Hooks.on("ready", () => { if (game.paused) _applyPauseLogo() })
|
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
"id": "fvtt-oath-hammer",
|
"id": "fvtt-oath-hammer",
|
||||||
"title": "Oath Hammer RPG",
|
"title": "Oath Hammer RPG",
|
||||||
"description": "Oath Hammer RPG System for FoundryVTT",
|
"description": "Oath Hammer RPG System for FoundryVTT",
|
||||||
"version": "13.0.0",
|
"version": "14.0.0",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13",
|
"minimum": "13",
|
||||||
"verified": "13"
|
"verified": "14"
|
||||||
},
|
},
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
"oath-hammer.mjs"
|
"oath-hammer.mjs"
|
||||||
|
|||||||
Reference in New Issue
Block a user