fix(svelte) fitView props mismatched
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user