Skip to content

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