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

[Feature request] Disable irrelevant UI options #117

Open
davestewart opened this issue Jul 17, 2024 · 3 comments
Open

[Feature request] Disable irrelevant UI options #117

davestewart opened this issue Jul 17, 2024 · 3 comments

Comments

@davestewart
Copy link
Contributor

davestewart commented Jul 17, 2024

Some of the UI options could be disabled if they are not relevant:

  • "Optimize Layout" – if there are no inferredAutoLayout nodes
  • "Round Values" and "Round Colors" – if no [] characters found in classes
  • "Custom Colors" – if no color variable used
@bernaferrari
Copy link
Owner

I think the way I would solve this is:

"current selection doesn't make use of color variables". with a check or X. Could be useful for people.

so the button is still enabled but the user can see it won't do anything on the current selection

@davestewart
Copy link
Contributor Author

Also, could just dim the button.

@bernaferrari
Copy link
Owner

Yeah, dim could be nice way, I like it

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