fix: submap - generate in current canvas size

This commit is contained in:
Azgaar 2024-12-13 13:15:01 +01:00
parent 50ee5150c1
commit ced7b88054
6 changed files with 17 additions and 11 deletions

View file

@ -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");