Fix Issue 270: element selectable again. Remove setting of pointer-events to 'none' on all children as they all inherit now from the layer

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@799 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-10-11 07:35:21 +00:00
parent 4a2141fd8a
commit 1f48bbcedf
1 changed files with 2 additions and 2 deletions

View File

@ -3109,7 +3109,7 @@ function BatchCommand(text) {
layernames.push(name);
all_layers.push( [name,child] );
current_layer = child;
walkTree(child, function(e){e.setAttribute("style", "pointer-events:none");});
// walkTree(child, function(e){e.setAttribute("style", "pointer-events:none");});
}
// if group did not have a name, it is an orphan
else {
@ -3132,7 +3132,7 @@ function BatchCommand(text) {
layer_title.textContent = newname;
current_layer.appendChild(layer_title);
for (var j = 0; j < orphans.length; ++j) {
walkTree(orphans[j], function(e){e.setAttribute("style", "pointer-events:none");});
// walkTree(orphans[j], function(e){e.setAttribute("style", "pointer-events:none");});
current_layer.appendChild(orphans[j]);
}
current_layer = svgzoom.appendChild(current_layer);