mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
start of ruler preferences and style
- Want to have initial X position. - initial Y position. - initial ruler lenght. pending: - Don't overlap at creation. - change polyline width. - change white and gray polyline. - Change polyline color. - Change text label. - Change text font family. - Change text font size.
This commit is contained in:
parent
19f7f2508e
commit
8b4dcec79d
5 changed files with 166 additions and 17 deletions
26
index.html
26
index.html
|
|
@ -1181,6 +1181,17 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleStrokeWidthRuler">
|
||||
<tr data-tip="Set stroke width for ruler lines">
|
||||
<td>Stroke width</td>
|
||||
<td>
|
||||
<slider-input id="styleStrokeWidthInput" min="0" max="5" step=".01"></slider-input>
|
||||
<input id="styleStrokeWidthWhiteInput" type="number" min="0" max="5" step=".01"></slider-input>
|
||||
<input id="styleStrokeWidthGrayInput" type="number" min="0" max="5" step=".01"></slider-input>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleStrokeDash">
|
||||
<tr data-tip="Set stroke dash array (e.g. 5 2) and linecap">
|
||||
<td>Stroke dash</td>
|
||||
|
|
@ -1412,6 +1423,21 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleRuler">
|
||||
<tr data-tip="Set ruler initial X position">
|
||||
<td><label for="rulerInitialX">Initial X position (%):</label></td>
|
||||
<td><input type="number" id="rulerInitialX" min="0" max="100" step="1"></td>
|
||||
</tr>
|
||||
<tr data-tip="Set ruler initial Y position">
|
||||
<td><label for="rulerInitialY">Initial Y position (%):</label></td>
|
||||
<td><input type="number" id="rulerInitialY" min="0" max="100" step="1"></td>
|
||||
</tr>
|
||||
<tr data-tip="Set ruler initial length">
|
||||
<td><label for="rulerInitialLength">Initial Length (%):</label></td>
|
||||
<td><input type="number" id="rulerInitialLength" min="1" max="100" step="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleScaleBar">
|
||||
<tr data-tip="Set bar and font size">
|
||||
<td>Size</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue