liwei 1 gadu atpakaļ
vecāks
revīzija
bd03f6a1ae
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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);
     }