throttle work done on zoom and brush drag

This commit is contained in:
Azgaar 2021-07-12 23:20:34 +03:00
parent e7b354e217
commit 985e3c43f9
2 changed files with 3 additions and 2 deletions

View file

@ -2023,7 +2023,7 @@ const regenerateMap = debounce(function () {
restoreLayers();
if (ThreeD.options.isOn) ThreeD.redraw();
if ($("#worldConfigurator").is(":visible")) editWorld();
}, 500);
}, 1000);
// clear the map
function undraw() {