liwei 1 년 전
부모
커밋
bd03f6a1ae
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/modules/editor/controllers/SelectCtrl/index.ts

+ 4 - 0
src/modules/editor/controllers/SelectCtrl/index.ts

@@ -604,7 +604,11 @@ export class SelectCtrl extends ModuleControl<EditorModule> {
       lastId = selected[selected.length-1] || "";
     }
 
+    if (lastId) {
+        this.actions.pickComp(lastId, false);
+    }
     this.actions.selectObjs(selected, lastId);
+    
     if (selected.length < 1) {
       this.actions.pickComp(this.store.currStreamCardId);
     }