diff --git a/package/ose-v0.10.zip b/package/ose-v0.9.2.zip similarity index 86% rename from package/ose-v0.10.zip rename to package/ose-v0.9.2.zip index 9ace391..70d24f3 100644 Binary files a/package/ose-v0.10.zip and b/package/ose-v0.9.2.zip differ diff --git a/src/module/dialog/party-sheet.js b/src/module/dialog/party-sheet.js index 42970cc..31acc66 100644 --- a/src/module/dialog/party-sheet.js +++ b/src/module/dialog/party-sheet.js @@ -1,11 +1,13 @@ export class OsePartySheet extends FormApplication { + static get defaultOptions() { - const options = super.defaultOptions; - (options.classes = ["ose", "dialog", "party-sheet"]), - (options.id = "party-sheet"); - options.template = "systems/ose/templates/apps/party-sheet.html"; - options.width = 280; - return options; + return mergeObject(super.defaultOptions, { + classes: ["ose", "dialog", "party-sheet"], + template: "systems/ose/templates/apps/party-sheet.html", + width: 280, + height: 400, + resizable: true, + }); } /* -------------------------------------------- */ diff --git a/src/scss/apps.scss b/src/scss/apps.scss index 2c10b4c..f2bc975 100644 --- a/src/scss/apps.scss +++ b/src/scss/apps.scss @@ -6,9 +6,10 @@ } .ose.dialog.party-sheet { + min-width: 250px; + min-height: 250px; .window-content { padding: 0; - height: 400px; } .header { color: whitesmoke; @@ -19,7 +20,6 @@ .actor-list { margin: 0; overflow: auto; - height: 350px; list-style: none; padding: 0; .actor { diff --git a/src/system.json b/src/system.json index 9e3cde3..0c978e7 100644 --- a/src/system.json +++ b/src/system.json @@ -2,7 +2,7 @@ "name": "ose", "title": "Old-School Essentials", "description": "Play B/X OSR modules with Old-School Essentials on Foundry VTT", - "version": "0.9.1", + "version": "0.9.2", "minimumCoreVersion": "0.6.2", "compatibleCoreVersion": "0.6.5", "templateVersion": 2, @@ -31,5 +31,5 @@ "gridUnits": "ft", "url": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose", "manifest": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/raw/master/src/system.json", - "download": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/raw/master/package/ose-v0.9.1.zip" + "download": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/raw/master/package/ose-v0.9.2.zip" }