fix: update document node borderColor on theme change

Cached document nodes were not updating their borderColor when the
theme changed (e.g. light/dark mode switch), while memory nodes were.
This caused a visual inconsistency where document borders retained
the previous theme's color.
This commit is contained in:
Vorflux AI 2026-03-29 01:16:11 +00:00
parent 44ab6a5fc6
commit f93e3f5bac

View file

@ -180,6 +180,7 @@ export function useGraphData(
if (docNode) {
docNode.data = docData
docNode.borderColor = colors.docStroke
docNode.isDragging = draggingNodeId === doc.id
} else {
docNode = {