fix(notemap): invisible hover color on light theme

This commit is contained in:
Elian Doran
2025-10-04 18:28:03 +03:00
parent 0770f97010
commit d2dda95654
2 changed files with 1 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ export function setupRendering(graph: ForceGraph, { note, noteId, themeStyle, wi
// set link width to immitate a highlight effect. Checking the condition if any links are saved in the previous defined set highlightlinks
graph
.linkWidth((link) => (highlightLinks.has(link) ? 3 : 0.4))
.linkColor((link) => (highlightLinks.has(link) ? "white" : cssData.mutedTextColor))
.linkColor((link) => (highlightLinks.has(link) ? cssData.textColor : cssData.mutedTextColor))
.linkDirectionalArrowLength(4)
.linkDirectionalArrowRelPos(0.95)