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
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user