Added support for editing inside rotated groups (issue 615), fixed some minor bugs

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1782 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-10-07 20:20:43 +00:00
parent 58a71b0593
commit 4d65eaf2f9
3 changed files with 15 additions and 7 deletions

View File

@@ -5462,8 +5462,14 @@ var getMouseTarget = this.getMouseTarget = function(evt) {
}
if(getRotationAngle(mouse_target)) {
// Don't do for rotated groups for now
return;
// TODO: Allow method of in-group editing without having to do
// this (similar to editing rotated paths)
// Ungroup and regroup
canvas.ungroupSelectedElement();
canvas.groupSelectedElements();
mouse_target = selectedElements[0];
clearSelection(true);
}
// Reset context
if(current_group) {