fix embedding playground zoom

This commit is contained in:
vcoppe
2026-07-21 11:11:13 +02:00
parent 108880f8cd
commit deef1bab47
@@ -21,6 +21,7 @@
import { selection } from '$lib/logic/selection';
import { untrack } from 'svelte';
import { isSelected, toggle } from '$lib/components/map/layer-control/utils';
import { boundsManager } from '$lib/logic/bounds';
let {
useHash = true,
@@ -90,6 +91,7 @@
fileStateCollection.setEmbeddedFiles(files);
$fileOrder = ids;
selection.selectAll();
boundsManager.fitBoundsOnLoad(ids);
});
}