From 2470f91544205b381beab89d7cc1097be7df26fd Mon Sep 17 00:00:00 2001 From: Wenzhao Hu <12122021+wzhudev@users.noreply.github.com> Date: Thu, 10 Oct 2024 19:10:56 +0800 Subject: [PATCH] fix: fix uni e2e --- packages/slides-ui/src/slides-ui-plugin.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/slides-ui/src/slides-ui-plugin.ts b/packages/slides-ui/src/slides-ui-plugin.ts index 91b90527804..6d1ad6ccb10 100644 --- a/packages/slides-ui/src/slides-ui-plugin.ts +++ b/packages/slides-ui/src/slides-ui-plugin.ts @@ -90,7 +90,7 @@ export class UniverSlidesUIPlugin extends Plugin { }); this._injector.get(CanvasView); - this._injector.get(SlideRenderController); + this._injector.get(SlideRenderService); } override onRendered(): void { @@ -99,7 +99,6 @@ export class UniverSlidesUIPlugin extends Plugin { // need TextSelectionRenderService which init by EditorContainer [SlideEditorBridgeRenderController], [SlideEditingRenderController], - ] as Dependency[]).forEach((m) => { // find all renderMap and register module to each item in renderMap this.disposeWithMe(this._renderManagerService.registerRenderModule(UniverInstanceType.UNIVER_SLIDE, m));