Skip to content

Commit

Permalink
fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewharvey committed Oct 11, 2019
1 parent 3cc81d7 commit bdadf98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geo/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class Transform {
this._minZoom = minZoom || 0;
this._maxZoom = maxZoom || 22;

this._minPitch = typeof minPitch === "undefined" ? 0 : minPitch;
this._maxPitch = typeof maxPitch === "undefined" ? 60 : maxPitch;
this._minPitch = minPitch === undefined ? 0 : minPitch;
this._maxPitch = maxPitch === undefined ? 60 : maxPitch;

this.setMaxBounds();

Expand Down

0 comments on commit bdadf98

Please sign in to comment.