mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
refactor(editor): reduce redundant canvas refresh on init (#10364)
This commit is contained in:
@@ -553,6 +553,8 @@ export class EdgelessRootBlockComponent extends BlockComponent<
|
||||
this.gfx.tool.setTool('default');
|
||||
}
|
||||
|
||||
this.gfx.viewport.elementReady.emit(this.gfxViewportElm);
|
||||
|
||||
requestConnectedFrame(() => {
|
||||
this.requestUpdate();
|
||||
}, this);
|
||||
|
||||
Reference in New Issue
Block a user