liwei 1 jaar geleden
bovenliggende
commit
a9245373dd
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/modules/editor/controllers/SelectCtrl/index.ts

+ 1 - 1
src/modules/editor/controllers/SelectCtrl/index.ts

@@ -595,7 +595,7 @@ export class SelectCtrl extends ModuleControl<EditorModule> {
 
 
     //@ts-ignore
-    const yoff = this.store.currStreamCard.$el.getBoundingClientRect().top - this.pageEl?.getBoundingClientRect().top;
+    const yoff = this.controls.pageCtrl.currStreamCard.$el.getBoundingClientRect().top - this.pageEl?.getBoundingClientRect().top;
     this.transferStyle.baseCardTop = yoff / s  + "px";
   
     this.transferStyle.showGizmo = true;