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
master
Alexis Deveria 2010-10-25 19:25:38 +00:00
parent 1ff4caa1c6
commit 8ba573662e
1 changed files with 2 additions and 0 deletions

View File

@ -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,