Skip to content

Commit baa6ad9

Browse files
committed
feat: add beforeVRenderDraw hook
1 parent c9e1657 commit baa6ad9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vchart/src/compile/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ export class Compiler implements ICompiler {
330330
);
331331
});
332332

333+
this._option.performanceHook?.beforeVRenderDraw?.(this._compileChart.getOption().globalInstance);
333334
// 全量渲染的时候先关闭dirty bounds 提升性能
334335
this._stage.disableDirtyBounds();
335336
this._stage.afterNextRender(this._handleAfterNextRender);

0 commit comments

Comments
 (0)