Fix regression (drawing of zoomed paths) from rev 1826.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2047 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
1c11da64a4
commit
4cc0e5c78d
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* svgcanvas.js
|
||||
*
|
||||
* Licensed under the Apache License, Version 2
|
||||
|
@ -4308,8 +4308,8 @@ var pathActions = canvas.pathActions = function() {
|
|||
last_x += (last_x - last.x2);
|
||||
last_y += (last_y - last.y2);
|
||||
} else if(firstCtrl) {
|
||||
last_x = firstCtrl[0];
|
||||
last_y = firstCtrl[1];
|
||||
last_x = firstCtrl[0]/current_zoom;
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue