Fixed selection box positioning when dragging while zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@936 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
38242ad3d6
commit
b9058e5b1e
|
@ -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
|
// apply the transforms
|
||||||
topleft = transformPoint( topleft.x, topleft.y, m );
|
topleft = transformPoint( topleft.x, topleft.y, m );
|
||||||
botright = transformPoint( botright.x, botright.y, m );
|
botright = transformPoint( botright.x, botright.y, m );
|
||||||
|
|
Loading…
Reference in New Issue