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

Add more visual feedback for button states #8916

Merged
merged 1 commit into from Oct 12, 2019
Merged

Add more visual feedback for button states #8916

merged 1 commit into from Oct 12, 2019

Commits on Oct 12, 2019

  1. Add more visual feedback for button states

    - Add style properties for overriding the the hovered/pressed state
      - By default, hovered buttons are a lighter version of the base color
      - By default, pressed buttons are a darker version of the base color
    - Add hovered bg image support for image buttons (style property)
    - Update lua_api.txt accordingly
    - Update test formspec (/formspec) of the minimal game to showcase button state styling
    Hugues Ross committed Oct 12, 2019
    Configuration menu
    Copy the full SHA
    3987e17 View commit details
    Browse the repository at this point in the history