refactor(editor): reduce redundant canvas refresh on init (#10364)

This commit is contained in:
Yifeng Wang
2025-02-22 21:58:13 +08:00
committed by GitHub
parent 04ed2bdab7
commit 963cc2e40e
5 changed files with 43 additions and 25 deletions
@@ -274,7 +274,7 @@ export class GfxController extends LifeCycleWatcher {
}
override mounted() {
this.viewport.setViewportElement(this.std.host);
this.viewport.setShellElement(this.std.host);
this.std.provider.getAll(GfxExtensionIdentifier).forEach(ext => {
ext.mounted();
});