Dice button picks a random seed in the new-world dialog (t100)
This commit is contained in:
+8
-1
@@ -56,7 +56,14 @@
|
||||
<button class="btn" id="btn-new">New world <small>generate</small></button>
|
||||
<div class="plate newworld" id="newworld" hidden>
|
||||
<label>Name <input id="nw-name" type="text" maxlength="40" autocomplete="off" spellcheck="false"></label>
|
||||
<label>Seed <input id="nw-seed" type="text" inputmode="numeric" autocomplete="off"></label>
|
||||
<div class="seed-field">
|
||||
<label for="nw-seed">Seed</label>
|
||||
<div class="seed-row">
|
||||
<input id="nw-seed" type="text" inputmode="numeric" maxlength="10" autocomplete="off" aria-describedby="nw-seed-hint">
|
||||
<button class="btn" id="btn-random-seed" type="button" aria-label="Random seed" title="Random seed">⚄</button>
|
||||
</div>
|
||||
<small id="nw-seed-hint" role="status" hidden>Maximum seed: 4294967295.</small>
|
||||
</div>
|
||||
<label>Size
|
||||
<select id="nw-size">
|
||||
<option value="2048x1024">Small · 2048 × 1024</option>
|
||||
|
||||
Reference in New Issue
Block a user