Update spells structure + minor changes

This commit is contained in:
2022-11-17 13:18:32 +01:00
parent 2b00991e16
commit 0b3a82f4b7
15 changed files with 95 additions and 8 deletions

View File

@ -5,7 +5,7 @@ export class Avd12RollDialog extends Dialog {
/* -------------------------------------------- */
static async create(actor, rollData) {
let options = { classes: ["Avd12Dialog"], width: 540, height: 340, 'z-index': 99999 };
let options = { classes: ["Avd12Dialog"], width: 540, height: 'fit-content', 'z-index': 99999 };
let html = await renderTemplate('systems/fvtt-avd12/templates/dialogs/roll-dialog-generic.html', rollData);
return new CrucibleRollDialog(actor, rollData, html, options);