From 4cc0e5c78dc186b88806532d3905a62a7565d535 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sat, 1 Oct 2011 04:41:14 +0000 Subject: [PATCH] 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 --- editor/svgcanvas.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 00421152..d5341d12 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -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); }