From 37458e1004a804d09dc443a7cbc6cccd891514f4 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 4 May 2007 15:00:47 +0000 Subject: [PATCH] #696: let events fall through the extent rectangle git-svn-id: http://svn.openlayers.org/trunk/openlayers@3133 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/OverviewMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index b3fb971c60..cc965d6c9f 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -180,7 +180,8 @@ OpenLayers.Control.OverviewMap.prototype = this.elementEvents.register('dblclick', this, function(e) { OpenLayers.Event.stop(e); }); - this.rectEvents = new OpenLayers.Events(this, this.extentRectangle); + this.rectEvents = new OpenLayers.Events(this, this.extentRectangle, + null, true); this.rectEvents.register('mouseout', this, this.rectMouseOut); this.rectEvents.register('mousedown', this, this.rectMouseDown); this.rectEvents.register('mousemove', this, this.rectMouseMove);