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

feat(progress): add minimum percent change needed to trigger an animation #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

meowgorithm
Copy link
Member

This update adds a threshold which prevents progress meters from animating over very short distances. Because terminal cells are rather large units, it's often a better experience to have short progress bar increments happen instantly.

@meowgorithm meowgorithm force-pushed the progress-anim-threshold branch from efd3628 to a344f94 Compare March 31, 2022 19:15
@meowgorithm meowgorithm force-pushed the progress-anim-threshold branch from a344f94 to 6d6149c Compare March 31, 2022 19:16
@meowgorithm meowgorithm changed the title feat(progress): add minimum percent change needed to trigger an animation in progress feat(progress): add minimum percent change needed to trigger an animation Mar 31, 2022
@muesli muesli added the enhancement New feature or request label Oct 5, 2022
@caarlos0
Copy link
Member

👀

@bashbunni bashbunni added this to the progress milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants