v1.6.19 - spelling fix

This commit is contained in:
Azgaar 2021-03-06 22:59:00 +03:00
parent bd4c5afb74
commit c0f14081a8
2 changed files with 2 additions and 2 deletions

View file

@ -1734,7 +1734,7 @@
<div id="iceEditor" class="dialog" style="display: none">
<button id="iceEditStyle" data-tip="Edit style in Style Editor" class="icon-brush"></button>
<button id="iceRandomize" data-tip="Randomize Iceberd shape" class="icon-shuffle"></button>
<button id="iceRandomize" data-tip="Randomize Iceberg shape" class="icon-shuffle"></button>
<input id="iceSize" data-tip="Change Iceberg size" type="range" min=".05" max="1" step=".01">
<button id="iceNew" data-tip="Add an Iceberg (click on map)" class="icon-plus"></button>
<button id="iceRemove" data-tip="Remove the element. Shortcut: Delete" class="icon-trash fastDelete"></button>

View file

@ -510,7 +510,7 @@ function drawIce() {
if (grid.features[cells.f[i]].type === "lake") continue; // lake: no icebers
let size = (6.5 + t) / 10; // iceberg size: 0 = full size, 1 = zero size
if (cells.t[i] === -1) size *= 1.3; // coasline: smaller icebers
size = Math.min(size * (.4 + rand() * 1.2), .95); // randomize iceberd size
size = Math.min(size * (.4 + rand() * 1.2), .95); // randomize iceberg size
resizePolygon(i, size);
}