Skip to content

Commit

Permalink
Slow down revolution
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandragauss committed Dec 12, 2023
1 parent a356b90 commit 74b31d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/script.built.js

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

2 changes: 1 addition & 1 deletion src/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
function spinGlobe() {
const zoom = map.getZoom();
if ( spinEnabled && ! userInteracting && zoom < maxSpinZoom ) {
let distancePerSecond = 200 / secondsPerRevolution;
let distancePerSecond = 100 / secondsPerRevolution;
if ( zoom > slowSpinZoom ) {
// Slow spinning at higher zooms
const zoomDif =
Expand Down

0 comments on commit 74b31d0

Please sign in to comment.