Sync with latest SVG-Edit

Fixes Issue 502 (Connector
lines are not re-editable).
This commit is contained in:
Jacques Distler 2010-02-26 14:51:27 -06:00
parent f7f1668e31
commit 8a851eeab2
5 changed files with 927 additions and 1827 deletions

View file

@ -228,8 +228,12 @@ $(function() {
if(conn) {
this.setAttribute('class', conn_sel.substr(1));
var conn_data = conn.split(' ');
var sbb = svgCanvas.getStrokedBBox([getElem(conn_data[0])]);
var ebb = svgCanvas.getStrokedBBox([getElem(conn_data[1])]);
$(this).data('c_start',conn_data[0])
.data('c_end',conn_data[1]);
.data('c_end',conn_data[1])
.data('start_bb', sbb)
.data('end_bb', ebb);
svgCanvas.getEditorNS(true);
}
});
@ -311,7 +315,6 @@ $(function() {
"style": "pointer-events:none"
}
});
$(cur_line).data('start_bb', bb);
}
return {