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