From ba800c4d41f687652e6cdf5308717dee62e4d51b Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Tue, 22 Dec 2009 19:42:48 +0000 Subject: [PATCH] Fixed issue 372: Selecting lines and polylines immediately after drawing fails in FF3.6b git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1082 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index dde9b340..5a73b41d 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2505,7 +2505,7 @@ function BatchCommand(text) { "stroke-linecap": "round", "stroke-linejoin": "round", "opacity": cur_shape.opacity / 2, - "style": "pointer-events:inherit" + "style": "pointer-events:none" } }); freehand_min_x = x; @@ -2575,7 +2575,7 @@ function BatchCommand(text) { "stroke-opacity": cur_shape.stroke_opacity, "fill": "none", "opacity": cur_shape.opacity / 2, - "style": "pointer-events:inherit" + "style": "pointer-events:none" } }); break; @@ -4336,6 +4336,7 @@ function BatchCommand(text) { } else if (element != null) { canvas.addedNew = true; element.setAttribute("opacity", cur_shape.opacity); + element.setAttribute("style", "pointer-events:inherit"); cleanupElement(element); selectorManager.update(); if(current_mode == "path") {