chore(core): cleanup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -138,10 +138,8 @@ export function useActions(state: State, getters: ComputedGetters): Actions {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
if (state.fitViewOnInit && !fitViewOnInitDone) {
|
if (state.fitViewOnInit && !fitViewOnInitDone) {
|
||||||
paneReady().then((helper) => {
|
viewportHelper.fitView()
|
||||||
helper.fitView()
|
fitViewOnInitDone = true
|
||||||
fitViewOnInitDone = true
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changes.length) state.hooks.nodesChange.trigger(changes)
|
if (changes.length) state.hooks.nodesChange.trigger(changes)
|
||||||
|
|||||||
Reference in New Issue
Block a user