From 1cb98fe0fc3f61c47f44b5f869f7efc5c7f50afd Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Tue, 13 Oct 2009 00:48:05 +0000 Subject: [PATCH] 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-75d572ba1ddd --- editor/svgcanvas.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 05502f8e..c7d1e735 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -3018,7 +3018,8 @@ 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:inherit");}); + current_layer.setAttribute("style", "pointer-events:none"); } // if group did not have a name, it is an orphan else {