From 89eeef9eda5c64375bde1d72b24d7cf0f1923746 Mon Sep 17 00:00:00 2001 From: aMediocreDad Date: Tue, 23 Jul 2024 22:22:03 +0200 Subject: [PATCH] Release v24 --- scripts/mixins/sheet-mixin.js | 6 +++-- system.json | 44 ++++++++++++++++++++++++++--------- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/scripts/mixins/sheet-mixin.js b/scripts/mixins/sheet-mixin.js index c4584d3..c0ab806 100644 --- a/scripts/mixins/sheet-mixin.js +++ b/scripts/mixins/sheet-mixin.js @@ -12,7 +12,9 @@ export const SheetMixin = (Base) => html .find("[data-size-input]") - .css("width", function () { return `${Math.ceil(Math.max(this.value.length * 1.5, 6))}ch` }) + .css("width", function () { + return `${Math.ceil(Math.max(this.value.length * 1.5, 6))}ch`; + }) .on("input", this.#sizeInput.bind(this)); html @@ -47,7 +49,7 @@ export const SheetMixin = (Base) => class: "litm--sheet-scale-button", icon: "fas fa-arrows-alt-h", tooltip: t("Resize"), - onclick: () => { }, + onclick: () => {}, }); return buttons; diff --git a/system.json b/system.json index 4de3d45..b16ed57 100644 --- a/system.json +++ b/system.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/foundryvtt-system-manifest.json", "id": "litm", - "version": 23, + "version": 24, "license": "LICENSE", "title": "Legend in the Mist Demo", "description": "A Rustic Fantasy Game for Foundry Virtual Tabletop.", @@ -13,21 +13,32 @@ "ko-fi": "amediocredad" } ], - "esmodules": ["litm.js"], - "styles": ["litm.css"], + "esmodules": [ + "litm.js" + ], + "styles": [ + "litm.css" + ], "documentTypes": { "Actor": { "character": { - "htmlFields": ["note"] + "htmlFields": [ + "note" + ] }, "challenge": { - "htmlFields": ["note", "special"] + "htmlFields": [ + "note", + "special" + ] } }, "Item": { "backpack": {}, "theme": { - "htmlFields": ["note"] + "htmlFields": [ + "note" + ] }, "threat": {} } @@ -61,7 +72,7 @@ ], "socket": true, "compatibility": { - "minimum": 11, + "minimum": 12, "verified": 12, "maximum": 12 }, @@ -77,8 +88,19 @@ ], "flags": { "hotReload": { - "extensions": ["css", "html", "js", "json"], - "paths": ["styles", "templates", "lang", "litm.css", "litm.js"] + "extensions": [ + "css", + "html", + "js", + "json" + ], + "paths": [ + "styles", + "templates", + "lang", + "litm.css", + "litm.js" + ] } }, "relationships": { @@ -93,6 +115,6 @@ "url": "https://github.com/aMediocreDad/litm", "bugs": "https://github.com/aMediocreDad/litm/issues?q=is:issue+is:open+sort:updated-desc", "manifest": "https://raw.githubusercontent.com/aMediocreDad/litm/main/system.json", - "download": "https://github.com/aMediocreDad/litm/archive/refs/tags/v23.zip", + "download": "https://github.com/aMediocreDad/litm/archive/refs/tags/v24.zip", "readme": "https://github.com/aMediocreDad/litm/blob/main/README.md" -} +} \ No newline at end of file