fix(memory-graph): center arrow-key navigation in the visible graph area (#1337)

This commit is contained in:
Abhay Singh 2026-08-12 20:56:23 +05:30 • committed by GitHub
parent 74b2201eeb
commit 14bcc92c31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,10 +467,10 @@ export function MemoryGraph({
n.x,
n.y,
containerSize.width,
containerSize.height,
graphFitHeight,
)
},
[nodes, containerSize.width, containerSize.height],
[nodes, containerSize.width, graphFitHeight],
)
const navigateUp = useCallback(() => {