Skip to content

[Feature request] Disable irrelevant UI options #117

Open

Description

@davestewart

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

  1. bernaferrari commented on Jul 17, 2024

    @bernaferrari
    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

  2. davestewart commented on Jul 17, 2024

    @davestewart
    ContributorAuthor

    Also, could just dim the button.

  3. bernaferrari commented on Jul 17, 2024

    @bernaferrari
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions