Skip to content

Commit

Permalink
fix: fix updateWidth in cell-content
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Dec 22, 2023
1 parent c997836 commit c2b3519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vtable/src/scenegraph/component/cell-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export class CellContent extends Group {

updateWidth(width: number) {
this._cellWidth = width;
this._originCellWidth = width;
this.layout();
}

Expand Down

0 comments on commit c2b3519

Please sign in to comment.