Skip to content

Commit 20b9c34

Browse files
refactor(web): clarify the minimap current-turn inset comment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent f2ae3d9 commit 20b9c34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/chat/MessagesTimeline.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,8 @@ const ConversationTimeline = memo(function ConversationTimeline({
882882
strip.dataset.inView = next;
883883
}
884884
}
885-
// A row only inside the band minimap navigation leaves above its target must not be the
886-
// current turn, or Next turn retargets it. 1px absorbs device-pixel scroll rounding.
885+
// Ignore rows ending within the offset minimap navigation leaves above its target, or
886+
// Next turn keeps retargeting the same row. 1px absorbs device-pixel scroll rounding.
887887
const currentInset = TIMELINE_MINIMAP_TARGET_OFFSET + 1;
888888
const currentRange = resolveTimelineMinimapVisibleRange({
889889
...state,

0 commit comments

Comments
 (0)