Changeset 2102
- Timestamp:
- 12/27/06 11:53:26 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control/MouseDefaults.js
r2075 r2102 34 34 this.map.events.register( "mouseout", this, this.defaultMouseOut ); 35 35 36 this.registerWheelEvents(); 37 38 }, 39 40 /** 41 * 42 */ 43 registerWheelEvents: function() { 44 36 45 //register mousewheel events specifically on the window and document 37 46 OpenLayers.Event.observe(window, "DOMMouseScroll", trunk/openlayers/lib/OpenLayers/Control/MouseToolbar.js
r1721 r2102 49 49 centered = centered.add((this.direction == "vertical" ? 0 : sz.w), (this.direction == "vertical" ? sz.h : 0)); 50 50 this.switchModeTo("pan"); 51 52 this.registerWheelEvents(); 53 51 54 return this.div; 52 53 55 }, 54 56
