OpenLayers OpenLayers

Changeset 1357

Show
Ignore:
Timestamp:
08/24/06 10:52:39 (2 years ago)
Author:
crschmidt
Message:

When you click and don't drag, we zoom in, but we want to set performedDrag,
since that's how we ensure that we don't fire click.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.0/lib/OpenLayers/Control/MouseDefaults.js

    r1356 r1357  
    8282            this.zoomBox.style.filter = "alpha(opacity=50)"; // IE 
    8383            this.zoomBox.style.opacity = "0.50"; 
     84            this.measureBox.style.fontSize = "1px"; 
    8485            this.zoomBox.style.zIndex = this.map.Z_INDEX_BASE["Popup"] - 1; 
    8586            this.map.viewPortDiv.appendChild(this.zoomBox); 
  • branches/openlayers/2.0/lib/OpenLayers/Control/MouseToolbar.js

    r1356 r1357  
    129129                this.zoomBox.style.filter = "alpha(opacity=50)"; // IE 
    130130                this.zoomBox.style.opacity = "0.50"; 
     131                this.zoomBox.style.fontSize = "1px"; 
    131132                this.zoomBox.style.zIndex = this.map.Z_INDEX_BASE["Popup"] - 1; 
    132133                this.map.viewPortDiv.appendChild(this.zoomBox); 
     134                this.performedDrag = true; 
    133135                break; 
    134136            case "measure":