Fix Issue 274: pasting in text has pointer-events problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@806 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3509ab975f
commit
1cb98fe0fc
|
@ -3018,7 +3018,8 @@ function BatchCommand(text) {
|
||||||
layernames.push(name);
|
layernames.push(name);
|
||||||
all_layers.push( [name,child] );
|
all_layers.push( [name,child] );
|
||||||
current_layer = child;
|
current_layer = child;
|
||||||
// walkTree(child, function(e){e.setAttribute("style", "pointer-events:none");});
|
walkTree(child, function(e){e.setAttribute("style", "pointer-events:inherit");});
|
||||||
|
current_layer.setAttribute("style", "pointer-events:none");
|
||||||
}
|
}
|
||||||
// if group did not have a name, it is an orphan
|
// if group did not have a name, it is an orphan
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue