StalderT 2016-01-16 19:40:29 +01:00
parent 971aa98ac1
commit 5a5347045c
1 changed files with 6 additions and 0 deletions

View File

@ -549,6 +549,12 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
var rubberBBox;
if (!rect) {
rubberBBox = rubberBox.getBBox();
var o, bb = {};
for (o in rubberBBox) {
bb[o] = rubberBBox[o] / current_zoom;
}
rubberBBox = bb;
} else {
rubberBBox = svgcontent.createSVGRect(rect.x, rect.y, rect.width, rect.height);
}