Also, find all orphaned group elements too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@735 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d11818bec0
commit
490b762441
|
@ -2897,7 +2897,12 @@ function BatchCommand(text) {
|
|||
current_layer = child;
|
||||
walkTree(child, function(e){e.setAttribute("style", "pointer-events:none");});
|
||||
}
|
||||
// if group did not have a name, it is an orphan
|
||||
else {
|
||||
orphans.push(child);
|
||||
}
|
||||
}
|
||||
// if child has a bbox (i.e. not a <title> element), then it is an orphan
|
||||
else if(child.getBBox) {
|
||||
orphans.push(child);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue