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) {
|
||||
paneReady().then((helper) => {
|
||||
helper.fitView()
|
||||
fitViewOnInitDone = true
|
||||
})
|
||||
viewportHelper.fitView()
|
||||
fitViewOnInitDone = true
|
||||
}
|
||||
|
||||
if (changes.length) state.hooks.nodesChange.trigger(changes)
|
||||
|
||||
Reference in New Issue
Block a user