feat(core): add viewport helper to state
This commit is contained in:
@@ -939,6 +939,7 @@ export function useActions(
|
||||
toObject,
|
||||
fromObject,
|
||||
updateNodeInternals,
|
||||
viewportHelper,
|
||||
$reset,
|
||||
$destroy: () => {},
|
||||
}
|
||||
|
||||
@@ -51,8 +51,6 @@ function defaultState(): State {
|
||||
d3Selection: null,
|
||||
d3ZoomHandler: null,
|
||||
|
||||
viewportInitialized: false,
|
||||
|
||||
minZoom: 0.5,
|
||||
maxZoom: 2,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user