From 5320cd290c8f01618474cc83389e05d85ce1ef29 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 24 Aug 2006 05:59:12 +0000 Subject: [PATCH] Dragging stopped by Event.stop call when it shouldn't have been -- no need for this. Only stop event if mousedown started in zoombar. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1353 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/PanZoomBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/PanZoomBar.js b/lib/OpenLayers/Control/PanZoomBar.js index 33459aade3..707ee1bd09 100644 --- a/lib/OpenLayers/Control/PanZoomBar.js +++ b/lib/OpenLayers/Control/PanZoomBar.js @@ -184,8 +184,8 @@ OpenLayers.Control.PanZoomBar.prototype = this.slider.style.top = newTop+"px"; } this.mouseDragStart = evt.xy.clone(); + Event.stop(evt); } - Event.stop(evt); }, /*