Skip to content

Commit

Permalink
Small change
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Oct 8, 2020
1 parent 4b68c64 commit ccc765a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/speedy-feature-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,6 @@ export class LKFeatureTracker extends SpeedyFeatureTracker
if(typeof threshold !== 'number')
throw new IllegalArgumentError(`Invalid discardThreshold`);

this._discardThreshold = Math.max(0, +threshold);
this._discardThreshold = Math.max(0, threshold);
}
}

0 comments on commit ccc765a

Please sign in to comment.