Skip to content

Commit

Permalink
Perf fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parg committed Nov 9, 2024
1 parent cc7491b commit d2b1951
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1591,9 +1591,16 @@ public void currentlySelectedContentChanged(
}else{
//redrawTable();
TableRowCore[] rows = getSelectedRows();
for (TableRowCore row : rows) {
row.invalidate();
redrawRow((TableRowPainted) row, false);
if ( rows.length > 100 ){
for (TableRowCore row : rows) {
row.invalidate();
}
redrawTable();
}else{
for (TableRowCore row : rows) {
row.invalidate();
redrawRow((TableRowPainted) row, false);
}
}
}
}
Expand Down

0 comments on commit d2b1951

Please sign in to comment.