mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
fix: submap - generate in current canvas size
This commit is contained in:
parent
50ee5150c1
commit
ced7b88054
6 changed files with 17 additions and 11 deletions
|
|
@ -132,9 +132,12 @@ async function openTransformTool() {
|
|||
|
||||
const [projection, inverse] = getProjection();
|
||||
|
||||
applyGraphSize();
|
||||
fitMapToScreen();
|
||||
resetZoom(0);
|
||||
undraw();
|
||||
Resample.process({projection, inverse, scale: 1});
|
||||
|
||||
drawLayers();
|
||||
|
||||
INFO && console.groupEnd("transformMap");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue