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-75d572ba1dddmaster
parent
9ecaddbd94
commit
af80ae4ff8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue