Fix regression (drawing of zoomed paths) from rev 1826.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2047 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* svgcanvas.js
|
* svgcanvas.js
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2
|
* Licensed under the Apache License, Version 2
|
||||||
@@ -4308,8 +4308,8 @@ var pathActions = canvas.pathActions = function() {
|
|||||||
last_x += (last_x - last.x2);
|
last_x += (last_x - last.x2);
|
||||||
last_y += (last_y - last.y2);
|
last_y += (last_y - last.y2);
|
||||||
} else if(firstCtrl) {
|
} else if(firstCtrl) {
|
||||||
last_x = firstCtrl[0];
|
last_x = firstCtrl[0]/current_zoom;
|
||||||
last_y = firstCtrl[1];
|
last_y = firstCtrl[1]/current_zoom;
|
||||||
}
|
}
|
||||||
svgedit.path.replacePathSeg(6, index, [pt_x, pt_y, last_x, last_y, alt_x, alt_y], drawn_path);
|
svgedit.path.replacePathSeg(6, index, [pt_x, pt_y, last_x, last_y, alt_x, alt_y], drawn_path);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user