From 81a4e202362f42a82baa9df2b6b91a774098740b Mon Sep 17 00:00:00 2001
From: Yohann Bacha <github@cyberendroit.net>
Date: Tue, 21 May 2024 16:50:58 +0000
Subject: [PATCH] feat: ability to hide tags in the recent notes component (#1147)
---
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