Merge pull request #138 from sbrown345/master

Fixed call to createSVGRect in getIntersectionList
This commit is contained in:
Jeff Schiller
2016-11-11 10:06:55 -08:00
committed by GitHub

View File

@@ -565,7 +565,11 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
}
rubberBBox = bb;
} else {
rubberBBox = svgcontent.createSVGRect(rect.x, rect.y, rect.width, rect.height);
rubberBBox = svgcontent.createSVGRect();
rubberBBox.x = rect.x;
rubberBBox.y = rect.y;
rubberBBox.width = rect.width;
rubberBBox.height = rect.height;
}
var resultList = null;