RELEASE: resizable party sheet

master
U~man 2020-07-15 00:47:28 +02:00
parent c8e09076fd
commit 2490986d54
4 changed files with 12 additions and 10 deletions

View File

@ -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,
});
}
/* -------------------------------------------- */

View File

@ -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 {

View File

@ -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"
}