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

Fix issue with arrow potentially not loading #8

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

Carifio24
Copy link
Member

This PR should resolve #7. The basic approach here is to use the same "fractional pixels" idea that we used in the solar eclipse story. This allows us to draw the arrow without needing to secretly zoom in first. Also, rather than setting a timeout and hoping that WWT is ready, we now create the arrow via a timeout function that will repeat as many times as necessary - basically, it will either draw the arrow, or re-queue itself to run in 100ms if we hit an error.

@patudom patudom merged commit 527ecb8 into cosmicds:main Mar 1, 2024
1 check passed
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.

Fix issue with arrow not rendering and leaving user super zoomed in to galaxy
2 participants