Fixed bug where Raphael icons appeared correct, but messud up on export
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1959 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
ba028851bc
commit
60845f62b3
|
@ -280,7 +280,7 @@ svgEditor.addExtension("shapes", function() {
|
|||
});
|
||||
|
||||
// Make sure shape uses absolute values
|
||||
if(current_d.charAt(0) === 'm') {
|
||||
if(/[a-z]/.test(current_d)) {
|
||||
current_d = cur_lib.data[cur_shape_id] = canv.pathActions.convertPath(cur_shape);
|
||||
cur_shape.setAttribute('d', current_d);
|
||||
canv.pathActions.fixEnd(cur_shape);
|
||||
|
|
Loading…
Reference in New Issue