mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +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">
|
<tr data-tip="Set state emblems size multiplier">
|
||||||
<td>State Size</td>
|
<td>State Size</td>
|
||||||
<td>
|
<td>
|
||||||
<input id="styleEmblemsStateSizeInput" data-stored="styleEmblemsStateSize" type="range" min=.1 max=3 step=.01 value=1>
|
<input id="styleEmblemsStateSizeInput" data-stored="styleEmblemsStateSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||||
<output id="styleEmblemsStateSizeOutput">1</output>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr data-tip="Set province emblems size multiplier">
|
<tr data-tip="Set province emblems size multiplier">
|
||||||
<td>Province Size</td>
|
<td>Province Size</td>
|
||||||
<td>
|
<td>
|
||||||
<input id="styleEmblemsProvinceSizeInput" data-stored="styleEmblemsProvinceSize" type="range" min=.1 max=3 step=.01 value=1>
|
<input id="styleEmblemsProvinceSizeInput" data-stored="styleEmblemsProvinceSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||||
<output id="styleEmblemsProvinceSizeOutput">1</output>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr data-tip="Set burg emblems size multiplier">
|
<tr data-tip="Set burg emblems size multiplier">
|
||||||
<td>Burg Size</td>
|
<td>Burg Size</td>
|
||||||
<td>
|
<td>
|
||||||
<input id="styleEmblemsBurgSizeInput" data-stored="styleEmblemsBurgSize" type="range" min=.1 max=3 step=.01 value=1>
|
<input id="styleEmblemsBurgSizeInput" data-stored="styleEmblemsBurgSize" type="number" min=0 max=5 step=.02 value=1 />
|
||||||
<output id="styleEmblemsBurgSizeOutput">1</output>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -625,20 +625,9 @@ styleArmiesSize.addEventListener("input", function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
styleEmblemsStateSizeInput.addEventListener("input", function() {
|
styleEmblemsStateSizeInput.addEventListener("input", drawEmblems);
|
||||||
styleEmblemsStateSizeOutput.value = this.value;
|
styleEmblemsProvinceSizeInput.addEventListener("input", drawEmblems);
|
||||||
drawEmblems();
|
styleEmblemsBurgSizeInput.addEventListener("input", drawEmblems);
|
||||||
});
|
|
||||||
|
|
||||||
styleEmblemsProvinceSizeInput.addEventListener("input", function() {
|
|
||||||
styleEmblemsProvinceSizeOutput.value = this.value;
|
|
||||||
drawEmblems();
|
|
||||||
});
|
|
||||||
|
|
||||||
styleEmblemsBurgSizeInput.addEventListener("input", function() {
|
|
||||||
styleEmblemsBurgSizeOutput.value = this.value;
|
|
||||||
drawEmblems();
|
|
||||||
});
|
|
||||||
|
|
||||||
// request a URL to image to be used as a texture
|
// request a URL to image to be used as a texture
|
||||||
function textureProvideURL() {
|
function textureProvideURL() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue