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-75d572ba1ddd
master
Jacques Distler 2010-04-06 18:36:24 +00:00
parent d82910afcd
commit 058f87e615
1 changed files with 2 additions and 0 deletions

View File

@ -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");