Fixed the centering of the Select-Roll circles in TagTeamDialog. Fixed so that damage formulas that are just a modifier don't get a prefix '+' rendered (#1955)

This commit is contained in:
WBHarry 2026-05-31 19:54:42 +02:00 committed by GitHub
parent 3fbc1e97c6
commit 3eb33a71af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@
{{/unless}}
{{/each}}
{{#if part.modifierTotal}}
<span class="roll-operator">{{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}}</span>
{{#if part.dice.length}}<span class="roll-operator">{{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}}</span>{{/if}}
<span class="roll-value">{{positive part.modifierTotal}}</span>
{{/if}}
</div>