mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
FIX: notes are not copied.
This commit is contained in:
parent
e9b4a7b03a
commit
0c9d735f37
2 changed files with 4 additions and 2 deletions
|
|
@ -141,16 +141,16 @@ window.UISubmap = (function () {
|
|||
|
||||
async function startResample(options) {
|
||||
// Do model changes with Submap.resample then do view changes if needed.
|
||||
undraw();
|
||||
resetZoom(0);
|
||||
let oldstate = {
|
||||
grid: deepCopy(grid),
|
||||
pack: deepCopy(pack),
|
||||
notes: deepCopy(notes),
|
||||
seed,
|
||||
graphWidth,
|
||||
graphHeight
|
||||
};
|
||||
|
||||
undraw();
|
||||
try {
|
||||
const oldScale = scale;
|
||||
await Submap.resample(oldstate, options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue