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

Extend button widget to support optional "mask", instead of triggering hover, press, etc on entering/clicking the widget boundaries. #133

Open
scratch85 opened this issue Apr 14, 2024 · 0 comments

Comments

@scratch85
Copy link

The buttons that I use for the UI are mostly round (yes, the image is a rectangle, but there are transparent parts). One observation I made is that also button widget is a rectangle. Entering the rectangle makes it change from idle to hover, even the button image is not really hovered. It would be nice if one could define an optional mask (circle, ellipse, triangle ...), that actually triggers the hover or press, instead of the pure bounds of the widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant