[OpenLayers-Commits] r3133 - trunk/openlayers/lib/OpenLayers/Control

commits at openlayers.org commits at openlayers.org
Fri May 4 11:00:47 EDT 2007


Author: tschaub
Date: 2007-05-04 11:00:47 -0400 (Fri, 04 May 2007)
New Revision: 3133

Modified:
   trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js
Log:
#696: let events fall through the extent rectangle

Modified: trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js	2007-05-04 14:35:48 UTC (rev 3132)
+++ trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js	2007-05-04 15:00:47 UTC (rev 3133)
@@ -180,7 +180,8 @@
         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);



More information about the Commits mailing list