fix style problems in bottom sheets and enhance damage and action dialogs (#325)

This commit is contained in:
Murilo Brito 2025-07-12 09:44:14 -03:00 committed by GitHub
parent b6195127fe
commit dee398347f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 129 additions and 70 deletions

View file

@ -61,12 +61,17 @@ export default class FeatureSheet extends DHBaseItemSheet {
static async selectActionType() {
const content = await foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/actionTypes/actionType.hbs',
{ types: CONFIG.DH.ACTIONS.actionTypes }
{
types: CONFIG.DH.ACTIONS.actionTypes,
itemName: game.i18n.localize('DAGGERHEART.CONFIG.SelectAction.selectType')
}
),
title = 'Select Action Type';
title = game.i18n.localize('DAGGERHEART.CONFIG.SelectAction.selectType');
console.log(this.document);
return foundry.applications.api.DialogV2.prompt({
window: { title },
classes: ['daggerheart', 'dh-style'],
content,
ok: {
label: title,