Merge pull request #138 from sbrown345/master

Fixed call to createSVGRect in getIntersectionList
master
Jeff Schiller 2016-11-11 10:06:55 -08:00 committed by GitHub
commit 0108115b41
1 changed files with 5 additions and 1 deletions

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;