mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 16:24:06 +01:00
Fixed dialog again
This commit is contained in:
parent
bda67262e9
commit
deaea6f271
1 changed files with 3 additions and 1 deletions
|
|
@ -170,7 +170,9 @@ export function ActionMixin(Base) {
|
||||||
if (!type || !game.system.api.models.actions.actionsTypes[type]) {
|
if (!type || !game.system.api.models.actions.actionsTypes[type]) {
|
||||||
({ type } =
|
({ type } =
|
||||||
(await foundry.applications.api.DialogV2.input({
|
(await foundry.applications.api.DialogV2.input({
|
||||||
window: { title: 'Select Action Type' },
|
window: { title: game.i18n.localize('DAGGERHEART.CONFIG.SelectAction.selectType') },
|
||||||
|
position: { width: 300 },
|
||||||
|
classes: ['daggerheart', 'dh-style'],
|
||||||
content: await foundry.applications.handlebars.renderTemplate(
|
content: await foundry.applications.handlebars.renderTemplate(
|
||||||
'systems/daggerheart/templates/actionTypes/actionType.hbs',
|
'systems/daggerheart/templates/actionTypes/actionType.hbs',
|
||||||
{ types: CONFIG.DH.ACTIONS.actionTypes }
|
{ types: CONFIG.DH.ACTIONS.actionTypes }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue