Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensures that zoom is always set to an integer value on Explore page #3677

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

misaugstad
Copy link
Member

@misaugstad misaugstad commented Oct 1, 2024

Partially addresses #2478

Ensures that the zoom level is always recorded as integer value, and the correct integer value on the Explore page. Zoom values like 1.999 and 0.999 were being used on the front end, then were being automatically truncated to values of 1 or 0 when being sent to the back end. We now make sure to round those values consistently!

Things to check before submitting the PR
  • I've written a descriptive PR title.
  • I've added/updated comments for large or confusing blocks of code.

@misaugstad misaugstad self-assigned this Oct 1, 2024
@misaugstad misaugstad merged commit e591c45 into develop Oct 1, 2024
@misaugstad misaugstad deleted the 2478-fix-zoom-level branch October 1, 2024 21:59
@misaugstad misaugstad mentioned this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant