More optimization to element selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1713 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
6c4bc512ff
commit
85ac3dace0
|
@ -487,6 +487,8 @@ svgEditor.addExtension("Connector", function(S) {
|
|||
}
|
||||
},
|
||||
selectedChanged: function(opts) {
|
||||
// TODO: Find better way to skip operations if no connectors are in use
|
||||
if(!$(svgcontent).find(conn_sel).length) return;
|
||||
|
||||
if(svgCanvas.getMode() == 'connector') {
|
||||
svgCanvas.setMode('select');
|
||||
|
|
Loading…
Reference in New Issue