|
@@ -315,7 +315,11 @@ export const editActions = EditorModule.action({
|
|
|
// console.log("contrc ", this.store.selected);
|
|
|
ctrlcselected = this.store.selected.slice(0);
|
|
|
},
|
|
|
-
|
|
|
+ copyLastSelected() {
|
|
|
+ if (this.store.currCompId && this.store.currCompId != "root") {
|
|
|
+ ctrlcselected = [this.store.currCompId]
|
|
|
+ }
|
|
|
+ },
|
|
|
toogleGroup() {
|
|
|
if (this.store.selected.length > 1) {
|
|
|
this.actions.createGroupComps();
|