mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
version info and hash update
This commit is contained in:
parent
a392223ef6
commit
d5f202ba47
6 changed files with 40 additions and 37 deletions
4
main.js
4
main.js
|
|
@ -1912,8 +1912,8 @@ const regenerateMap = debounce(async function (options) {
|
|||
|
||||
const cellsDesired = +byId("pointsInput").dataset.cells;
|
||||
const shouldShowLoading = cellsDesired > 10000;
|
||||
|
||||
shouldShowLoading && showLoading();
|
||||
|
||||
closeDialogs("#worldConfigurator, #options3d");
|
||||
customization = 0;
|
||||
resetZoom(1000);
|
||||
|
|
@ -1922,7 +1922,9 @@ const regenerateMap = debounce(async function (options) {
|
|||
restoreLayers();
|
||||
if (ThreeD.options.isOn) ThreeD.redraw();
|
||||
if ($("#worldConfigurator").is(":visible")) editWorld();
|
||||
|
||||
shouldShowLoading && hideLoading();
|
||||
clearMainTip();
|
||||
}, 1000);
|
||||
|
||||
// clear the map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue