Skip to content

Commit

Permalink
Remove unused clearTimeout() from camera.js (#9870)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Calder authored Jul 20, 2020
1 parent fc7ac01 commit 16211e8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ui/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class Camera extends Evented {
_padding: boolean;

_bearingSnap: number;
_easeEndTimeoutID: TimeoutID;
_easeStart: number;
_easeOptions: {duration: number, easing: (_: number) => number};
_easeId: string | void;
Expand Down Expand Up @@ -838,8 +837,6 @@ class Camera extends Evented {
this._easeId = options.easeId;
this._prepareEase(eventData, options.noMoveStart, currently);

clearTimeout(this._easeEndTimeoutID);

this._ease((k) => {
if (this._zooming) {
tr.zoom = interpolate(startZoom, zoom, k);
Expand Down

0 comments on commit 16211e8

Please sign in to comment.