saving on group/ungroup
parent
56b57cd0ec
commit
0f8c718756
|
@ -316,6 +316,7 @@ MD.Editor = function(){
|
||||||
if (_self.selected.length > 1) {
|
if (_self.selected.length > 1) {
|
||||||
editor.menu.flash($('#object_menu'));
|
editor.menu.flash($('#object_menu'));
|
||||||
svgCanvas.groupSelectedElements();
|
svgCanvas.groupSelectedElements();
|
||||||
|
saveCanvas();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -323,6 +324,7 @@ MD.Editor = function(){
|
||||||
if(_self.selected.length === 1 && _self.selected[0].tagName === "g"){
|
if(_self.selected.length === 1 && _self.selected[0].tagName === "g"){
|
||||||
editor.menu.flash($('#object_menu'));
|
editor.menu.flash($('#object_menu'));
|
||||||
svgCanvas.ungroupSelectedElement();
|
svgCanvas.ungroupSelectedElement();
|
||||||
|
saveCanvas();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue