Added a toggle in D20RollDialog for ReactionRolls

This commit is contained in:
WBHarry 2025-07-30 15:22:35 +02:00
parent 8e516df7cb
commit 9cb8302bcd
6 changed files with 54 additions and 7 deletions

View file

@ -1,7 +1,8 @@
<header class="dialog-header">
{{#if rollConfig.headerTitle}}
<h1>{{rollConfig.headerTitle}}</h1>
{{else}}
<h1>{{rollConfig.title}}</h1>
{{/if}}
<h1>
{{ifThen rollConfig.headerTitle rollConfig.headerTitle rollConfig.title}}
<button class="reaction-roll-controller {{#if reactionOverride}}active{{/if}}" data-action="toggleReaction" data-tooltip-text="{{localize "DAGGERHEART.GENERAL.reactionRoll"}}">
<i class="fa-solid fa-reply"></i>
</button>
</h1>
</header>