Skip to content

Commit

Permalink
maplibre#2498: code review remarks addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
arekgotfryd committed Oct 21, 2023
1 parent a6ad899 commit c7703e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/handler/scroll_zoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export class ScrollZoomHandler implements Handler {
if (this.isEnabled()) return;
this._enabled = true;
this._aroundCenter = !!options && (options as AroundCenterOptions).around === 'center';
this._map._setupCooperativeGestures();
}

/**
Expand Down

0 comments on commit c7703e4

Please sign in to comment.