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-75d572ba1dddmaster
parent
6b1483446b
commit
53fbb25328
|
@ -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 + ")");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue