Skip to content

Commit

Permalink
fix: add useOneRowHeightFillAll clear in recalculateRowHeights()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Jun 13, 2024
1 parent 49a12b3 commit 2bca1f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@visactor/vtable",
"comment": "fix: optimize row height update when useOneRowHeightFillAll",
"type": "none"
}
],
"packageName": "@visactor/vtable"
}
1 change: 1 addition & 0 deletions packages/vtable/src/scenegraph/scenegraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ export class Scenegraph {
}

recalculateRowHeights() {
this.table.internalProps.useOneRowHeightFillAll = false;
computeRowsHeight(this.table, 0, this.table.rowCount - 1, true, true);
}

Expand Down

0 comments on commit 2bca1f2

Please sign in to comment.