Fix #1 : Drag data on stats

This commit is contained in:
LeRatierBretonnien 2025-01-07 17:17:22 +01:00
parent 82139eb634
commit d6a1b2c62a

View File

@ -76,42 +76,42 @@
<fieldset class="protagonist-characteristics protagonist-characteristics-{{ifThen isPlayMode 'play' 'edit'}}">
<legend>{{localize "CTHULHUETERNAL.Label.characteristics"}}</legend>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic" >
<label class="rollable" data-roll-type="char" data-char-id="str">{{localize
"CTHULHUETERNAL.Label.strShort"}}</label>
{{formField systemFields.characteristics.fields.str.fields.value value=system.characteristics.str.value
rootId=partId disabled=isPlayMode }}
{{mul system.characteristics.str.value 5}}
</div>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic">
<label class="rollable" data-roll-type="char" data-char-id="dex">{{localize
"CTHULHUETERNAL.Label.dexShort"}}</label>
{{formField systemFields.characteristics.fields.dex.fields.value value=system.characteristics.dex.value
rootId=partId disabled=isPlayMode }}
{{mul system.characteristics.dex.value 5}}
</div>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic" >
<label class="rollable" data-roll-type="char" data-char-id="con">{{localize
"CTHULHUETERNAL.Label.conShort"}}</label>
{{formField systemFields.characteristics.fields.con.fields.value value=system.characteristics.con.value
rootId=partId disabled=isPlayMode }}
{{mul system.characteristics.con.value 5}}
</div>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic" >
<label class="rollable" data-roll-type="char" data-char-id="int">{{localize
"CTHULHUETERNAL.Label.intShort"}}</label>
{{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value
rootId=partId disabled=isPlayMode }}
{{mul system.characteristics.int.value 5}}
</div>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic" >
<label class="rollable" data-roll-type="char" data-char-id="pow">{{localize
"CTHULHUETERNAL.Label.powShort"}}</label>
{{formField systemFields.characteristics.fields.pow.fields.value value=system.characteristics.pow.value
rootId=partId disabled=isPlayMode }}
{{mul system.characteristics.pow.value 5}}
</div>
<div class="protagonist-characteristic" data-drag="true" data-drag-type="characteristic">
<div class="protagonist-characteristic" >
<label class="rollable" data-roll-type="char" data-char-id="cha">{{localize
"CTHULHUETERNAL.Label.chaShort"}}</label>
{{formField systemFields.characteristics.fields.cha.fields.value value=system.characteristics.cha.value