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
Activity
bernaferrari commentedon Jul 17, 2024
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 commentedon Jul 17, 2024
Also, could just dim the button.
bernaferrari commentedon Jul 17, 2024
Yeah, dim could be nice way, I like it