fix(svelte) fitView props mismatched

This commit is contained in:
Peter
2023-09-27 15:10:55 +02:00
parent ea73efa329
commit e83ba5dfa8
+3 -1
View File
@@ -313,7 +313,9 @@ export function createStore(): SvelteFlowStore {
updateNodeDimensions, updateNodeDimensions,
zoomIn, zoomIn,
zoomOut, zoomOut,
fitView, fitView: (options?: FitViewOptions) => {
return fitView(get(store.nodes), options);
},
setMinZoom, setMinZoom,
setMaxZoom, setMaxZoom,
setTranslateExtent, setTranslateExtent,