Updte new compendiums

This commit is contained in:
2022-11-26 09:21:22 +01:00
parent 1bf786559b
commit dc2537f2e0
15 changed files with 406 additions and 211 deletions

View File

@@ -5,7 +5,7 @@ export class PegasusRollDialog extends Dialog {
/* -------------------------------------------- */
static async create(actor, rollData) {
let options = { classes: ["PegasusDialog"], width: 620, height: 480, 'z-index': 99999 };
let options = { classes: ["PegasusDialog"], width: 620, height: 'fit-content', 'z-index': 99999 };
let html = await renderTemplate('systems/fvtt-pegasus-rpg/templates/roll-dialog-generic.html', rollData);
return new PegasusRollDialog(actor, rollData, html, options);