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

Use custom color function to color each square of the position probe independently #133

Open
GiuntaJ opened this issue Apr 11, 2024 · 0 comments

Comments

@GiuntaJ
Copy link

GiuntaJ commented Apr 11, 2024

Hi,

Since each position probe is rendered with the renderControlSquare, it is not possible to use a custom color function to color each square with a different color because they will all use the color of the parent square.

For now, I overwrote renderControlSquare in my custom shape function to produce the result I wanted but I was wondering if it was possible in a next version to only use a custom color function to do this (for example, by using renderSquare for all the squares)?

Thank you in advance for your answer and thanks for all the work you did so far on the library.

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

No branches or pull requests

1 participant