mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.5.67 - sliders replaced by number inputs
This commit is contained in:
parent
a5395fca78
commit
c3173217d8
2 changed files with 6 additions and 20 deletions
|
|
@ -804,24 +804,21 @@
|
|||
<tr data-tip="Set state emblems size multiplier">
|
||||
<td>State Size</td>
|
||||
<td>
|
||||
<input id="styleEmblemsStateSizeInput" data-stored="styleEmblemsStateSize" type="range" min=.1 max=3 step=.01 value=1>
|
||||
<output id="styleEmblemsStateSizeOutput">1</output>
|
||||
<input id="styleEmblemsStateSizeInput" data-stored="styleEmblemsStateSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr data-tip="Set province emblems size multiplier">
|
||||
<td>Province Size</td>
|
||||
<td>
|
||||
<input id="styleEmblemsProvinceSizeInput" data-stored="styleEmblemsProvinceSize" type="range" min=.1 max=3 step=.01 value=1>
|
||||
<output id="styleEmblemsProvinceSizeOutput">1</output>
|
||||
<input id="styleEmblemsProvinceSizeInput" data-stored="styleEmblemsProvinceSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr data-tip="Set burg emblems size multiplier">
|
||||
<td>Burg Size</td>
|
||||
<td>
|
||||
<input id="styleEmblemsBurgSizeInput" data-stored="styleEmblemsBurgSize" type="range" min=.1 max=3 step=.01 value=1>
|
||||
<output id="styleEmblemsBurgSizeOutput">1</output>
|
||||
<input id="styleEmblemsBurgSizeInput" data-stored="styleEmblemsBurgSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
|||
|
|
@ -625,20 +625,9 @@ styleArmiesSize.addEventListener("input", function() {
|
|||
});
|
||||
});
|
||||
|
||||
styleEmblemsStateSizeInput.addEventListener("input", function() {
|
||||
styleEmblemsStateSizeOutput.value = this.value;
|
||||
drawEmblems();
|
||||
});
|
||||
|
||||
styleEmblemsProvinceSizeInput.addEventListener("input", function() {
|
||||
styleEmblemsProvinceSizeOutput.value = this.value;
|
||||
drawEmblems();
|
||||
});
|
||||
|
||||
styleEmblemsBurgSizeInput.addEventListener("input", function() {
|
||||
styleEmblemsBurgSizeOutput.value = this.value;
|
||||
drawEmblems();
|
||||
});
|
||||
styleEmblemsStateSizeInput.addEventListener("input", drawEmblems);
|
||||
styleEmblemsProvinceSizeInput.addEventListener("input", drawEmblems);
|
||||
styleEmblemsBurgSizeInput.addEventListener("input", drawEmblems);
|
||||
|
||||
// request a URL to image to be used as a texture
|
||||
function textureProvideURL() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue