mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
throttle work done on zoom and brush drag
This commit is contained in:
parent
e7b354e217
commit
985e3c43f9
2 changed files with 3 additions and 2 deletions
2
main.js
2
main.js
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue