From 88ef7b02cc1325451e86a4298f9cc3d917f437de Mon Sep 17 00:00:00 2001 From: Magne Bratseth Date: Wed, 10 Feb 2016 09:38:43 +0100 Subject: [PATCH] It seems some browsers require objects passed to getInsectionList to actually be of the correct type --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 3f2cf464..4770c8af 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -549,7 +549,7 @@ var getIntersectionList = this.getIntersectionList = function(rect) { var rubberBBox; if (!rect) { rubberBBox = rubberBox.getBBox(); - var o, bb = {}; + var o, bb = svgcontent.createSVGRect(); for (o in rubberBBox) { bb[o] = rubberBBox[o] / current_zoom;