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

docs(custom_widget): make button sticky when clicking with mouse #561

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

kdheepak
Copy link
Collaborator

@kdheepak kdheepak commented Oct 5, 2023

Makes the example more intuitive (imo) when trying out the demo with mouse. User can click to make state of the button Active, and click again to make it Normal. When in Active state, hover related changes are ignored.

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Merging #561 (4eb1763) into main (fbf1a45) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   89.51%   89.51%           
=======================================
  Files          41       41           
  Lines       11557    11557           
=======================================
  Hits        10345    10345           
  Misses       1212     1212           

@kdheepak kdheepak force-pushed the make-button-sticky branch from 2df4df3 to 4eb1763 Compare October 5, 2023 08:08
@orhun orhun changed the title docs: Make button sticky when clicking with mouse 📚 docs(custom_widget): make button sticky when clicking with mouse Oct 6, 2023
@orhun orhun merged commit e5caf17 into main Oct 6, 2023
36 checks passed
@orhun orhun deleted the make-button-sticky branch October 6, 2023 09:17
IlyaSelivanov pushed a commit to IlyaSelivanov/ratatui that referenced this pull request Oct 16, 2023
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

Successfully merging this pull request may close these issues.

3 participants