Check in James Wright's patch for proper zooming of the background image

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2040 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2011-09-22 23:58:12 +00:00
parent 6b1483446b
commit 53fbb25328
1 changed files with 8 additions and 0 deletions

View File

@ -8601,6 +8601,14 @@ this.updateCanvas = function(w, h) {
x: x, x: x,
y: y y: y
}); });
var bg_img = getElem('background_image');
if (bg_img) {
assignAttributes(bg_img, {
'width': '100%',
'height': '100%'
});
}
selectorManager.selectorParentGroup.setAttribute("transform","translate(" + x + "," + y + ")"); selectorManager.selectorParentGroup.setAttribute("transform","translate(" + x + "," + y + ")");