From af80ae4ff86c087d63078cb755f0e2994f68b4b4 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 16 Oct 2009 18:21:31 +0000 Subject: [PATCH] Prevent going into select mode when rotating, resizing or editing path nodes git-svn-id: http://svg-edit.googlecode.com/svn/trunk@837 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 1319b9a2..6fed7686 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -1478,6 +1478,7 @@ function BatchCommand(text) { // then go to Select mode. // WebKit returns
when the canvas is clicked, Firefox/Opera return if ( (current_mode != "poly" || current_poly_pts.length == 0) && + t.parentNode.id != "selectorParentGroup" && t.id != "svgcanvas" && t.id != "svgroot") { // switch into "select" mode if we've clicked on an element