template editor: allow single value

This commit is contained in:
Azgaar 2021-06-13 16:42:47 +03:00
parent 2be590ab24
commit e3da664e56
3 changed files with 233 additions and 142 deletions

View file

@ -2322,8 +2322,8 @@
<div style="width:4em">Hill</div>
<i class="icon-trash-empty pointer" data-tip="Remove the step"></i>
<i class="icon-resize-vertical" data-tip="Drag to reorder"></i>
<span>y:<input class="templateY" data-tip="Placement range percentage along Y axis (minY-maxY)" value="47-53"></span>
<span>x:<input class="templateX" data-tip="Placement range percentage along X axis (minX-maxX)" value="65-75"></span>
<span>y:<input class="templateY" data-tip="Y axis position in percentage (minY-maxY or Y)" value="47-53"></span>
<span>x:<input class="templateX" data-tip="X axis position in percentage (minX-maxX or X)" value="65-75"></span>
<span>h:<input class="templateHeight" data-tip="Blob maximum height, use hyphen to get a random number in range" value="90-100"></span>
<span>n:<input class="templateCount" data-tip="Blobs to add, use hyphen to get a random number in range" value="1"></span>
</div>