From 46b63b68bf02491f841a794d72f3def6649ec72f Mon Sep 17 00:00:00 2001
From: Danny van Tol <19685217+dannyvtol@users.noreply.github.com>
Date: Sat, 24 Aug 2024 19:56:17 +0000
Subject: [PATCH] fix: Link visibility in exampanded TOC while collapseByDefault is true (#1371)
---
quartz/components/Graph.tsx | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx
index 40ab43a..f7ebcc9 100644
--- a/quartz/components/Graph.tsx
+++ b/quartz/components/Graph.tsx
@@ -17,6 +17,7 @@
opacityScale: number
removeTags: string[]
showTags: boolean
+ focusOnHover?: boolean
}
interface GraphOptions {
@@ -37,6 +38,7 @@
opacityScale: 1,
showTags: true,
removeTags: [],
+ focusOnHover: false,
},
globalGraph: {
drag: true,
@@ -50,6 +52,7 @@
opacityScale: 1,
showTags: true,
removeTags: [],
+ focusOnHover: true,
},
}
--
Gitblit v1.10.0