feat: make custom modifier the default in the roll options dialog

This commit is contained in:
Johannes Loher 2022-06-11 12:45:51 +02:00
parent 884ca53e5f
commit 3e0eba268b

View file

@ -25,7 +25,7 @@ SPDX-License-Identifier: MIT
<label for="check-modifier-{{id}}">{{localize "DS4.DialogRollOptionsCheckModifierLabel"}}</label>
<div class="form-fields">
<select id="check-modifier-{{id}}" name="check-modifier" data-dtype="String">
{{#select "0"}}
{{#select "custom"}}
{{#each checkModifiers as |checkModifier|}}
<option value="{{checkModifier.value}}">{{checkModifier.label}}</option>
{{/each}}
@ -33,7 +33,7 @@ SPDX-License-Identifier: MIT
</select>
</div>
</div>
<div class="form-group ds4-hidden">
<div class="form-group">
<label for="check-modifier-custom-{{id}}">{{localize "DS4.DialogRollOptionsCheckModifierCustomLabel"}}</label>
<input id="check-modifier-custom-{{id}}" data-dtype="Number" type="number" name="check-modifier-custom"
value="0" />