From 8cf4c40e2bf239eb2a7d081c38a378b3b1d14e46 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Tue, 11 Aug 2026 20:12:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=83=AD=E7=82=B9=E7=A9=BF=E9=80=8F?= =?UTF-8?q?=E8=82=A1=E7=A5=A8=E7=90=83=E6=9C=80=E5=B0=8F=E9=97=B4=E9=9A=94?= =?UTF-8?q?4px=E6=94=B9=E4=B8=BA6px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- src/routes/hot-map.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/hot-map.tsx b/src/routes/hot-map.tsx index c6dcabe..c75000b 100644 --- a/src/routes/hot-map.tsx +++ b/src/routes/hot-map.tsx @@ -815,9 +815,9 @@ function HotMapGraph({ graph }: { graph: ThemeGraph }) { ) .force("charge", forceManyBody().strength((d) => (d.type === "theme" ? -650 : -35))) .force("center", forceCenter(size.w / 2, size.h / 2)) - // 题材节点留出标签高度防文字重叠(标签在节点下方) + // 题材节点留出标签高度防文字重叠(标签在节点下方);股票节点留 6px 最小间隔 .force("collide", forceCollide().radius((d) => - d.type === "theme" ? d.radius + (isCoarse ? 20 : 16) : d.radius + 4, + d.type === "theme" ? d.radius + (isCoarse ? 20 : 16) : d.radius + 6, )); simRunningRef.current = true;