feat: inform users if canvas size is too big

This commit is contained in:
Azgaar 2023-03-26 15:05:19 +04:00
parent d48f9b3cab
commit 38f2e1fb7b
3 changed files with 17 additions and 6 deletions

View file

@ -1461,7 +1461,7 @@
</p>
<table>
<tr
data-tip="Canvas width and height in pixels. Defines map size on generation, then map size cannot be changed and canvas size changes only visible area. Keep canvas size equal to screen size or less to improve performance. The best aspect ratio for maps is 2:1"
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"
>
<td></td>
<td>Canvas size</td>
@ -1473,7 +1473,7 @@
</td>
<td>
<i
data-tip="Toggle between screen size and initial canvas size"
data-tip="Toggle between the current screen size and the initial canvas size"
id="toggleFullscreen"
class="icon-resize-full-alt"
></i>
@ -7877,7 +7877,7 @@
<script src="modules/ui/stylePresets.js?v=1.89.11"></script>
<script src="modules/ui/general.js?v=1.87.03"></script>
<script src="modules/ui/options.js?v=1.88.12"></script>
<script src="modules/ui/options.js?v=1.88.14"></script>
<script src="main.js?v=1.89.12"></script>
<script defer src="modules/relief-icons.js"></script>