Skip to content

Commit

Permalink
use revealLineInCenter instead of revealLine when click on diffMap
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillp committed Dec 20, 2024
1 parent c871a92 commit b3fa468
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ public Consumer<MouseEvent> onMouseDown(MouseEvent event, int button) {
}

if (codeMapLine >= 0) {
revealLine(codeMapLine);
revealLineInCenter(codeMapLine);
return MouseListener.Static.emptyConsumer;
}

Expand Down

0 comments on commit b3fa468

Please sign in to comment.