Skip to content

Commit ae06d83

Browse files
committed
fix: fix range cache in _updateSize()
1 parent 8c3196d commit ae06d83

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/vtable/src/core/BaseTable.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,9 @@ export abstract class BaseTable extends EventTarget implements BaseTableAPI {
11671167
height - ((lineWidths[0] ?? 0) + (shadowWidths[0] ?? 0)) - ((lineWidths[2] ?? 0) + (shadowWidths[2] ?? 0));
11681168
}
11691169
}
1170+
1171+
this._clearColRangeWidthsMap();
1172+
this._clearRowRangeHeightsMap();
11701173
}
11711174

11721175
updateViewBox(newViewBox: IBoundsLike) {

0 commit comments

Comments
 (0)