From 8ba573662ee439c14c190eb43aef431f3f78f564 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 25 Oct 2010 19:25:38 +0000 Subject: [PATCH] Fixed bug where selection box appeared incorrectly on zoom git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1816 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 7ff5574a..a5d1b1d6 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -1368,6 +1368,8 @@ var SelectorManager; // if skewed, get its transformed box, then find its axis-aligned bbox //* + offset *= current_zoom; + var nbox = transformBox(l*current_zoom, t*current_zoom, w*current_zoom, h*current_zoom, m), aabox = nbox.aabox, nbax = aabox.x - offset,