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

Dynamically set sectors #14

Open
Miru5 opened this issue Apr 10, 2018 · 4 comments
Open

Dynamically set sectors #14

Miru5 opened this issue Apr 10, 2018 · 4 comments

Comments

@Miru5
Copy link

Miru5 commented Apr 10, 2018

Unable to set sectors dynamically

@hawkgs
Copy link
Owner

hawkgs commented Apr 10, 2018

This is not supported, yet.

@Miru5
Copy link
Author

Miru5 commented Apr 10, 2018

I got it working actually by calling calculateSectors in the updateArrowPos function + small changes;

@hawkgs
Copy link
Owner

hawkgs commented Apr 10, 2018

I don't recommend calling it on _updateArrowPos since this will recalculate the sectors on every arrow move which might unnecessarily load the main thread.

@Miru5
Copy link
Author

Miru5 commented Apr 10, 2018

Yeah I know it's not the best solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants