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

How to reset style of only one object ? #423

Open
PIUM-arc opened this issue Apr 14, 2023 · 1 comment
Open

How to reset style of only one object ? #423

PIUM-arc opened this issue Apr 14, 2023 · 1 comment

Comments

@PIUM-arc
Copy link

I would like to know if there is a way to reset the style of a specific object, I'm using "SetStyle" method to colorize an object and I would like to go back to the original color without having to reset all styles (because I have other colorized objects).
Is that possible ?

Thank you.

@andyward
Copy link
Member

Good suggestion - this does seem an oversight that we don't have a removeStyle() in the same way we have removeState().

Shouldn't be a big task - If anyone wants to submit a PR that would be helpful.

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

2 participants