Skip to content

Commit

Permalink
Fix format 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Feb 16, 2024
1 parent 17bfd1f commit d93456a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/leaflet-rotate-src.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/leaflet-rotate-src.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/leaflet-rotate.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/map/handler/TouchGestures.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ L.Map.TouchGestures = L.Handler.extend({
var theta = Math.atan(vector.x / vector.y);
var bearingDelta = (theta - this._startTheta) * L.DomUtil.RAD_TO_DEG;
if (vector.y < 0) { bearingDelta += 180; }

if(!this._passedAngleThreshold) {
this._passedAngleThreshold = map.options.minBearingThreshold === undefined || bearingDelta > map.options.minBearingThreshold;
}
Expand Down

0 comments on commit d93456a

Please sign in to comment.