Fixed selection box positioning when dragging while zoomed

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@936 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-11-12 20:08:04 +00:00
parent 38242ad3d6
commit b9058e5b1e
1 changed files with 5 additions and 0 deletions

View File

@ -448,6 +448,11 @@ function BatchCommand(text) {
}
}
// This should probably be handled somewhere else, but for now
// it keeps the selection box correctly positioned when zoomed
m.e *= current_zoom;
m.f *= current_zoom;
// apply the transforms
topleft = transformPoint( topleft.x, topleft.y, m );
botright = transformPoint( botright.x, botright.y, m );