Skip to content

Commit

Permalink
Merge pull request #527 from VisActor/release/0.13.3
Browse files Browse the repository at this point in the history
[Auto release] release 0.13.2
  • Loading branch information
fangsmile authored Nov 3, 2023
2 parents 85dd7a2 + 32d7261 commit 7209df2
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
12 changes: 12 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "0.13.3",
"tag": "@visactor/vtable_v0.13.3",
"date": "Fri, 03 Nov 2023 10:46:41 GMT",
"comments": {
"patch": [
{
"comment": "fix: fix frozen shadow update in tree mode #525\n\n"
}
]
}
},
{
"version": "0.13.2",
"tag": "@visactor/vtable_v0.13.2",
Expand Down
11 changes: 10 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Change Log - @visactor/vtable

This log was last generated on Fri, 03 Nov 2023 09:55:11 GMT and should not be manually modified.
This log was last generated on Fri, 03 Nov 2023 10:46:41 GMT and should not be manually modified.

## 0.13.3
Fri, 03 Nov 2023 10:46:41 GMT

### Patches

- fix: fix frozen shadow update in tree mode #525



## 0.13.2
Fri, 03 Nov 2023 09:55:11 GMT
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable",
"version": "0.13.2",
"version": "0.13.3",
"description": "canvas table width high performance",
"keywords": [
"grid",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/src/core/BaseTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ export abstract class BaseTable extends EventTarget implements BaseTableAPI {
col: boolean;
} | null {
const isFrozenRow = this.isFrozenRow(row) || this.isBottomFrozenRow(row);
const isFrozenCol = this.isFrozenRow(col) || this.isRightFrozenColumn(col);
const isFrozenCol = this.isFrozenColumn(col) || this.isRightFrozenColumn(col);
if (isFrozenRow || isFrozenCol) {
return {
row: isFrozenRow,
Expand Down
5 changes: 5 additions & 0 deletions packages/vtable/src/scenegraph/scenegraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,11 @@ export class Scenegraph {
// check frozen status
this.table.stateManeger.checkFrozen();

// update frozen shadow
if (!this.isPivot && !this.transpose) {
this.component.setFrozenColumnShadow(this.table.frozenColCount - 1);
}

// rerender
this.updateNextFrame();
}
Expand Down

0 comments on commit 7209df2

Please sign in to comment.