Skip to content

Commit

Permalink
tweaking initial zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelmaron committed Jan 4, 2024
1 parent 34ffe13 commit 1b45878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function determineZoom() {
let modifier = 650;
if (window.innerWidth < 1000) { modifier = 500; }
else if (window.innerWidth < 1500) { modifier = 575; }
let zoom = 1.1*(window.innerWidth-modifier)/modifier;
let zoom = 1.25*(window.innerWidth-modifier)/modifier;
return zoom;
}
function loadData() {
Expand Down

0 comments on commit 1b45878

Please sign in to comment.