Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): 恢复消息导航可见范围高亮

DavidShen686560da48b3
diff --git a/apps/desktop/src/renderer/components/chat/MessageNavRail.tsx b/apps/desktop/src/renderer/components/chat/MessageNavRail.tsx
index 61554559fa..f229ab249d 100644
--- a/apps/desktop/src/renderer/components/chat/MessageNavRail.tsx
+++ b/apps/desktop/src/renderer/components/chat/MessageNavRail.tsx
@@ -615,7 +615,7 @@ export function MessageNavRail({
'ease-[var(--motion-ease-move)]',
tickWidthClass,
tickOpacityClass,
- interactionDistance === 0 || (interactionDistance === null && isActive)
+ interactionDistance === 0 || (interactionDistance === null && (isActive || inView))
? 'bg-[var(--text-primary)]'
: 'bg-[var(--text-secondary)] group-hover:bg-[var(--text-primary)]',
)}