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

Mouse/click improvements #26

Open
docelic opened this issue Apr 14, 2023 · 0 comments
Open

Mouse/click improvements #26

docelic opened this issue Apr 14, 2023 · 0 comments

Comments

@docelic
Copy link
Collaborator

docelic commented Apr 14, 2023

After applying patch for mouse support, edit src/widget/button.cr as the prototype component where mouse behavior re. clicking is to be polished. Minimum improvements necessary:

  1. Support hover over buttons
  2. Support press/release events and make them affect current widget style (e.g. to give "button press" visual feedback)
  3. If mouse moves out of button while clicked, releasing it will be no-op (like in GUIs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant