Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 92c59ff

Browse files
Fixing NextInlineCommentCommand
1 parent 1faac58 commit 92c59ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.InlineReviews/Commands/NextInlineCommentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override Task Execute(InlineCommentNavigationParams parameter)
5353
if (tags.Count > 0)
5454
{
5555
var cursorPoint = GetCursorPoint(textViews[0], parameter);
56-
var next = tags.FirstOrDefault(x => x.Point >= cursorPoint) ?? tags.First();
56+
var next = tags.FirstOrDefault(x => x.Point > cursorPoint) ?? tags.First();
5757
ShowPeekComments(parameter, next.TextView, next.Tag, textViews);
5858
}
5959

0 commit comments

Comments
 (0)