mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
feat: fit map to screen size
This commit is contained in:
parent
ada39b47ad
commit
1200b9e60f
8 changed files with 64 additions and 75 deletions
14
index.html
14
index.html
|
|
@ -1410,9 +1410,11 @@
|
|||
</p>
|
||||
<table>
|
||||
<tr
|
||||
data-tip="Canvas width and height in pixels. Defines map size on generation that cannot be changed later. Always keep canvas size equal to your screen size or less. The best option is to use the default value. For full-globe maps use aspect ratio 2:1"
|
||||
data-tip="Set original map size on generation. It cannot be changed later. Always keep canvas size equal to your screen size or less. The best option is to use the default value. For full-globe maps use aspect ratio 2:1"
|
||||
>
|
||||
<td></td>
|
||||
<td>
|
||||
<i data-tip="Restore default canvas size" id="restoreDefaultCanvasSize" class="icon-ccw"></i>
|
||||
</td>
|
||||
<td>Canvas size</td>
|
||||
<td>
|
||||
<input id="mapWidthInput" class="paired" type="number" min="240" value="960" />
|
||||
|
|
@ -1420,13 +1422,7 @@
|
|||
<input id="mapHeightInput" class="paired" type="number" min="135" value="540" />
|
||||
<span>px</span>
|
||||
</td>
|
||||
<td>
|
||||
<i
|
||||
data-tip="Toggle between the current screen size and the initial canvas size"
|
||||
id="toggleFullscreen"
|
||||
class="icon-resize-full-alt"
|
||||
></i>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr data-tip="Map seed number. Seed produces the same map only if canvas size and options are the same">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue