Better code indentation

This commit is contained in:
Frederic Junod
2018-02-16 13:39:16 +01:00
parent 7747f4f40d
commit 4cad77089a
12 changed files with 29 additions and 56 deletions
+1 -2
View File
@@ -55,8 +55,7 @@ DoubleClickZoom.handleEvent = function(mapBrowserEvent) {
const anchor = mapBrowserEvent.coordinate;
const delta = browserEvent.shiftKey ? -this.delta_ : this.delta_;
const view = map.getView();
Interaction.zoomByDelta(
view, delta, anchor, this.duration_);
Interaction.zoomByDelta(view, delta, anchor, this.duration_);
mapBrowserEvent.preventDefault();
stopEvent = true;
}