fix(svelte) fitView props mismatched

This commit is contained in:
Peter
2023-09-27 15:10:55 +02:00
parent ea73efa329
commit e83ba5dfa8

View File

@@ -313,7 +313,9 @@ export function createStore(): SvelteFlowStore {
updateNodeDimensions,
zoomIn,
zoomOut,
fitView,
fitView: (options?: FitViewOptions) => {
return fitView(get(store.nodes), options);
},
setMinZoom,
setMaxZoom,
setTranslateExtent,