this function is an exact copy of the same in mousedefaults -- just use the original from the superclass.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1473 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-09-15 18:59:40 +00:00
parent 5ad0f05fc2
commit 42db224f3d

View File

@@ -254,12 +254,6 @@ OpenLayers.Control.MouseToolbar.prototype =
this.map.div.style.cursor = "default";
},
defaultMouseOut: function (evt) {
if (this.mouseDragStart != null
&& OpenLayers.Util.mouseLeft(evt, this.map.div)) {
this.defaultMouseUp(evt);
}
},
defaultClick: function (evt) {
if (this.performedDrag) {
this.performedDrag = false;