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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user