Fixed bug caused in r1576 that made path-drawing points and line appear incorrectly when zoomed

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1662 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-08-16 18:14:21 +00:00
parent 11a318de72
commit 93d6dfa121
1 changed files with 4 additions and 1 deletions

View File

@ -6788,7 +6788,10 @@ var pathActions = this.pathActions = function() {
d_attr += "L" + round(x) + "," + round(y) + " ";
newpath.setAttribute("d", d_attr);
x *= current_zoom;
y *= current_zoom;
// set stretchy line to latest point
assignAttributes(stretchy, {
'x1': x,