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
master
Jeff Schiller 2009-10-16 18:21:31 +00:00
parent 9ecaddbd94
commit af80ae4ff8
1 changed files with 1 additions and 0 deletions

View File

@ -1478,6 +1478,7 @@ function BatchCommand(text) {
// then go to Select mode.
// WebKit returns <div> when the canvas is clicked, Firefox/Opera return <svg>
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