Preserve height and width, when re-editing an existing SVG document.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1507 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d82910afcd
commit
058f87e615
|
@ -6949,6 +6949,8 @@ function BatchCommand(text) {
|
|||
|
||||
if(diff) continue;
|
||||
}
|
||||
this.contentW = attrs['width'];
|
||||
this.contentH = attrs['height'];
|
||||
|
||||
// else could be a duplicate, iterate through stops
|
||||
var stops = grad.getElementsByTagNameNS(svgns, "stop");
|
||||
|
|
Loading…
Reference in New Issue