Skip to content

Commit

Permalink
Release v24
Browse files Browse the repository at this point in the history
  • Loading branch information
aMediocreDad committed Jul 26, 2024
1 parent f486e67 commit 89eeef9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 13 deletions.
6 changes: 4 additions & 2 deletions scripts/mixins/sheet-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down
44 changes: 33 additions & 11 deletions system.json
Original file line number Diff line number Diff line change
@@ -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 <strong>Rustic Fantasy</strong> Game for Foundry Virtual Tabletop.",
Expand All @@ -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": {}
}
Expand Down Expand Up @@ -61,7 +72,7 @@
],
"socket": true,
"compatibility": {
"minimum": 11,
"minimum": 12,
"verified": 12,
"maximum": 12
},
Expand All @@ -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": {
Expand All @@ -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"
}
}

0 comments on commit 89eeef9

Please sign in to comment.