refactor: more cleanup

This commit is contained in:
Simula_r
2025-10-20 21:20:42 -07:00
parent 44f91dc0a8
commit 375ce88dcd
2 changed files with 1 additions and 3 deletions

View File

@@ -21,8 +21,6 @@ function useVueNodeLifecycleIndividual() {
const { startSync } = useLayoutSync()
// const { fixOverlaps } = useFixVueNodeOverlap()
const initializeNodeManager = () => {
// Use canvas graph if available (handles subgraph contexts), fallback to app graph
const activeGraph = comfyApp.canvas?.graph

View File

@@ -64,7 +64,7 @@ export function useFixVueNodeOverlap() {
if (scaledLgBounds)
canvas.ds.fitToBounds(scaledLgBounds, {
zoom: 0.6
zoom: 0.6 //Makes it so the fit to view is slightly zoomed out and not edge to edge.
})
function scalePosFromCenter(pos: Point): {