fixed call to createSVGRect in getIntersectionList
createSVGRect() does not have parameters, they must be set on the object after https://developer.mozilla.org/en/docs/Web/API/SVGSVGElement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user