Add possibility to enable / disable effects in the actor sheet

This commit is contained in:
Johannes Loher 2021-07-22 02:50:16 +02:00
parent bb67788abc
commit 2ef58012c6
2 changed files with 22 additions and 4 deletions

View file

@ -11,8 +11,8 @@ SPDX-License-Identifier: MIT
--}}
<li class="ds4-effect-list__row effect" data-effect-id="{{effectData._id}}">
{{!-- enabled --}}
<input class="ds4-effect-list__editable ds4-effect-list__editable--checkbox effect-change" type="checkbox" {{checked
(ne effectData.disabled)}} data-dtype="Boolean" data-property="disabled"
<input class="ds4-effect-list__editable ds4-effect-list__editable--checkbox change-effect" type="checkbox" {{checked
(ne effectData.disabled true)}} data-dtype="Boolean" data-property="disabled" data-inverted="true"
title="{{localize 'DS4.EffectEnabled'}}">
{{!-- icon --}}