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
|
@ -8602,6 +8602,14 @@ this.updateCanvas = function(w, h) {
|
|||
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 + ")");
|
||||
|
||||
return {x:x, y:y, old_x:old_x, old_y:old_y, d_x:x - old_x, d_y:y - old_y};
|
||||
|
|
Loading…
Reference in New Issue