@node-projects/web-component-designer 0.1.148 → 0.1.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,10 +37,12 @@ export class DefaultModelCommandService {
|
|
|
37
37
|
if (idx < sel.parent.childCount)
|
|
38
38
|
sel.parent.insertChild(sel, idx);
|
|
39
39
|
}
|
|
40
|
-
else if (command.type == CommandType.moveToBack)
|
|
40
|
+
else if (command.type == CommandType.moveToBack) {
|
|
41
41
|
sel.parent.insertChild(sel, 0);
|
|
42
|
-
|
|
42
|
+
}
|
|
43
|
+
else if (command.type == CommandType.moveToFront) {
|
|
43
44
|
sel.parent.insertChild(sel);
|
|
45
|
+
}
|
|
44
46
|
else if (command.type == CommandType.arrangeTop) {
|
|
45
47
|
ArrangeHelper.arrangeElements(Orientation.TOP, designerCanvas, designerCanvas.instanceServiceContainer.selectionService.selectedElements);
|
|
46
48
|
}
|
|
@@ -141,6 +143,7 @@ export class DefaultModelCommandService {
|
|
|
141
143
|
}
|
|
142
144
|
else
|
|
143
145
|
return null;
|
|
146
|
+
designerCanvas.instanceServiceContainer.selectionService.setSelectedElements(null);
|
|
144
147
|
designerCanvas.instanceServiceContainer.selectionService.setSelectedElements(selection);
|
|
145
148
|
return true;
|
|
146
149
|
}
|
package/package.json
CHANGED