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

This commit is contained in:
WBHarry 2026-05-31 13:28:26 +02:00
parent 3fbc1e97c6
commit 8cb9f49956
2 changed files with 2 additions and 1 deletions

View file

@ -194,6 +194,7 @@
.roll-selection-container {
display: flex;
gap: 16px;
.select-roll-button {
margin-top: 8px;

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>