Skip to content

Commit

Permalink
scroll to row in annotations list when selection an annotation from t…
Browse files Browse the repository at this point in the history
…he editor (fixes #69)
  • Loading branch information
Feuermagier committed Oct 17, 2024
1 parent 6aa0d96 commit d674a90
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public void selectAnnotation(Annotation annotation) {
if (row >= 0) {
int viewRow = table.convertRowIndexToView(row);
table.setRowSelectionInterval(viewRow, viewRow);
table.scrollRectToVisible(table.getCellRect(viewRow, 0, true));
}
}

Expand Down

0 comments on commit d674a90

Please sign in to comment.