Merge pull request #67 from magnebra/getintersectionlist_fails_ie_chrome
some browsers require objects passed to getInsectionList to be of correct the type
This commit is contained in:
@@ -549,7 +549,7 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
|
|||||||
var rubberBBox;
|
var rubberBBox;
|
||||||
if (!rect) {
|
if (!rect) {
|
||||||
rubberBBox = rubberBox.getBBox();
|
rubberBBox = rubberBox.getBBox();
|
||||||
var o, bb = {};
|
var o, bb = svgcontent.createSVGRect();
|
||||||
|
|
||||||
for (o in rubberBBox) {
|
for (o in rubberBBox) {
|
||||||
bb[o] = rubberBBox[o] / current_zoom;
|
bb[o] = rubberBBox[o] / current_zoom;
|
||||||
|
|||||||
Reference in New Issue
Block a user