FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Better Icon Control · Issue #620 · StreamController/StreamController · GitHub

Better Icon Control #620

Description

Describe the feature idea
Better controls on the icon being used.

One example where I ran into this limitation, was having a simple media Play/Pause button. I can't seem to find a way to have it toggle between the Play icon and the Pause icon, depending if music is playing or not.

As such, it would be great to have a dedicated icon section to control the icon behavior, independent of the actions.
The main icon states I can think off that would be great having control are:

  • Key Up (the normal we have now).
  • Key Down (its doing the default scale down to give feedback the key was pressed)
  • Long Press

Additionally, having then a "Toggle" capability and 3 more states that would show up if "Toggle" is enabled.

  • Key Up Alt
  • Key Down Alt
  • Long Press Alt

With Toggle, all it would do is alternate between using the primary states (Key Up, Key Down, Long Press) or the alternative states (Key Up Alt, Key Down Alt, Long Press Alt).
Toggle would trigger on button release.

Additional context
I realize that scenarios like mine right now, Media, its easy for the Deck to be out of sync with the Toggle capability, however I see it as something that would then be up to the Actions to handle if it would be that important, where the Action would just trigger the "toggle" or what icon is active, if the primary or the alternative.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL