mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 05:01:08 +01:00
Fix min to display slider (#619)
* Fix min to display slider * Fix min to display slider
This commit is contained in:
parent
dea9c0066c
commit
a8862d40d2
1 changed files with 2 additions and 2 deletions
|
|
@ -14,13 +14,13 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each costs as | cost index |}}
|
{{#each costs as | cost index |}}
|
||||||
<li class="scalable-input">
|
<li class="scalable-input">
|
||||||
<div class="form-group{{#unless (and scalable (gt maxStep 1))}} span-2{{/unless}}">
|
<div class="form-group{{#unless (and scalable maxStep)}} span-2{{/unless}}">
|
||||||
<div class="form-fields nest-inputs">
|
<div class="form-fields nest-inputs">
|
||||||
<input name="costs.{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
<input name="costs.{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
||||||
<label>{{label}}{{#if cost.consumeOnSuccess}}<span class="hint">{{localize "DAGGERHEART.ACTIONS.Settings.consumeOnSuccess.short"}}</span>{{/if}}</label>
|
<label>{{label}}{{#if cost.consumeOnSuccess}}<span class="hint">{{localize "DAGGERHEART.ACTIONS.Settings.consumeOnSuccess.short"}}</span>{{/if}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{#if (and scalable (gt maxStep 1))}}
|
{{#if (and scalable maxStep)}}
|
||||||
<input type="range" value="{{scale}}" min="0" max="{{maxStep}}" step="1" name="costs.{{index}}.scale" data-tooltip="{{localize "DAGGERHEART.ACTIONS.Settings.cost.stepTooltip" step=step}}" data-tooltip-direction="UP">
|
<input type="range" value="{{scale}}" min="0" max="{{maxStep}}" step="1" name="costs.{{index}}.scale" data-tooltip="{{localize "DAGGERHEART.ACTIONS.Settings.cost.stepTooltip" step=step}}" data-tooltip-direction="UP">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<label class="modifier-label">{{total}}/{{max}}</label>
|
<label class="modifier-label">{{total}}/{{max}}</label>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue