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

Activate the distance tool to report permanently its distance. #39

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

valentinptc
Copy link
Contributor

This will make the distance slider useful. Before it only worked when you touch it.
We could lower down the frequency for calculations to 10 fps in case this takes too much resources.

However its also only running while the tool is visible and loaded. So overall maybe not a big deal.

@valentinptc valentinptc requested a review from benptc June 16, 2020 14:08
Copy link
Contributor

@benptc benptc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea but it wasn't fully working when I tested your change, so I pushed another commit that fixes the bug. Now, tapping on the tool once sets the distance considered "1", and as you move closer it goes down to 0 (similar to setting the visibility distance of something).

@benptc
Copy link
Contributor

benptc commented Jun 16, 2020

I like how this no longer requires you to press down on the tool. I agree this makes it much more useful.

@benptc benptc marked this pull request as draft June 22, 2020 15:56
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.

2 participants