Fixed selection box positioning when dragging while zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@936 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user