Skip to content

Commit

Permalink
Merge pull request #1928 from VisActor/feat/viewbox
Browse files Browse the repository at this point in the history
fix: ts define error
  • Loading branch information
fangsmile committed Jun 17, 2024
2 parents cd66b1a + badef20 commit 9c86053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/vtable/src/core/tableHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function _setDataSource(table: BaseTableAPI, dataSource: DataSource): voi
});
}
export function _getTargetFrozenRowAt(
table: BaseTable,
table: BaseTableAPI,
absoluteY: number
): {
top: number;
Expand Down Expand Up @@ -112,7 +112,7 @@ export function _getTargetFrozenRowAt(
}

export function _getTargetFrozenColAt(
table: BaseTable,
table: BaseTableAPI,
absoluteX: number
): {
left: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/src/scenegraph/debug-tool/debug-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class DebugTool {
// this._stage.defaultLayer.appendChild(this._rect);
// this._stage.renderNextFrame();

const table = this._stage.table;
const table = (this._stage as any).table;
const stage = table.scenegraph.stage;
const stageMatrix = stage.window.getViewBoxTransform();

Expand Down

0 comments on commit 9c86053

Please sign in to comment.