parent
971aa98ac1
commit
5a5347045c
|
@ -549,6 +549,12 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
|
||||||
var rubberBBox;
|
var rubberBBox;
|
||||||
if (!rect) {
|
if (!rect) {
|
||||||
rubberBBox = rubberBox.getBBox();
|
rubberBBox = rubberBox.getBBox();
|
||||||
|
var o, bb = {};
|
||||||
|
|
||||||
|
for (o in rubberBBox) {
|
||||||
|
bb[o] = rubberBBox[o] / current_zoom;
|
||||||
|
}
|
||||||
|
rubberBBox = bb;
|
||||||
} else {
|
} else {
|
||||||
rubberBBox = svgcontent.createSVGRect(rect.x, rect.y, rect.width, rect.height);
|
rubberBBox = svgcontent.createSVGRect(rect.x, rect.y, rect.width, rect.height);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue