Skip to content

Commit ca95d4c

Browse files
committed
Fix linting
1 parent ccf3c51 commit ca95d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/composables/graph/useGraphNodeManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Provides event-driven reactivity with performance optimizations
44
*/
55
import { reactiveComputed } from '@vueuse/core'
6-
import { nextTick, reactive, shallowReactive } from 'vue'
6+
import { reactive, shallowReactive } from 'vue'
77

88
import { useChainCallback } from '@/composables/functional/useChainCallback'
99
import { isProxyWidget } from '@/core/graph/subgraph/proxyWidget'
@@ -482,7 +482,7 @@ export function useGraphNodeManager(graph: LGraph): GraphNodeManager {
482482
} else {
483483
// Not during workflow loading - initialize layout immediately
484484
// This handles individual node additions during normal operation
485-
nextTick(initializeVueNodeLayout)
485+
requestAnimationFrame(initializeVueNodeLayout)
486486
}
487487

488488
// Call original callback if provided

0 commit comments

Comments
 (0)