From 93d6dfa121359b05ca498fbebcc1dc78c090c996 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 16 Aug 2010 18:14:21 +0000 Subject: [PATCH] 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 --- editor/svgcanvas.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 4636b908..aecbcdf3 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -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,