Fixed issue 591 and issue 592

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1622 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-07-05 13:26:52 +00:00
parent f679554ce4
commit d80dd06bad
2 changed files with 1 additions and 5 deletions

View File

@ -174,10 +174,6 @@
urldata.bkgd_color = '#' + urldata.bkgd_color;
}
if(urldata.bkgd_color) {
urldata.bkgd_color = '#' + urldata.bkgd_color;
}
svgEditor.setConfig(urldata);
var src = urldata.source;

View File

@ -8813,7 +8813,7 @@ this.setPaint = function(type, paint) {
cur_properties[type + '_paint'] = p;
switch ( p.type ) {
case "solidColor":
this.setColor('stroke', p.solidColor != "none" ? "#"+p.solidColor : "none");;
this.setColor(type, p.solidColor != "none" ? "#"+p.solidColor : "none");;
break;
case "linearGradient":
case "radialGradient":