feat(core): add viewport helper to state

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent fbadf9427f
commit c855dfe454
6 changed files with 39 additions and 19 deletions
+1
View File
@@ -939,6 +939,7 @@ export function useActions(
toObject,
fromObject,
updateNodeInternals,
viewportHelper,
$reset,
$destroy: () => {},
}
-2
View File
@@ -51,8 +51,6 @@ function defaultState(): State {
d3Selection: null,
d3ZoomHandler: null,
viewportInitialized: false,
minZoom: 0.5,
maxZoom: 2,