mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-08 03:08:21 +00:00
fix(memory-graph): center arrow-key navigation in the visible graph area (#1337)
This commit is contained in:
parent
74b2201eeb
commit
14bcc92c31
1 changed files with 2 additions and 2 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue