Spaces for tabs.
This commit is contained in:
@@ -63,10 +63,10 @@ ol.control.Navigation.prototype.moveMap = function(evt) {
|
|||||||
* @param {Event} evt
|
* @param {Event} evt
|
||||||
*/
|
*/
|
||||||
ol.control.Navigation.prototype.zoomMap = function(evt) {
|
ol.control.Navigation.prototype.zoomMap = function(evt) {
|
||||||
var me = this;
|
var me = this;
|
||||||
if (evt.deltaY === 0 || me.zoomBlocked_) {
|
if (evt.deltaY === 0 || me.zoomBlocked_) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
me.zoomBlocked_ = window.setTimeout(function() {
|
me.zoomBlocked_ = window.setTimeout(function() {
|
||||||
me.zoomBlocked_ = null;
|
me.zoomBlocked_ = null;
|
||||||
}, 200);
|
}, 200);
|
||||||
|
|||||||
Reference in New Issue
Block a user