liwei 1 year ago
parent
commit
bd03f6a1ae
1 changed files with 4 additions and 0 deletions
  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);
     }