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

UI: Enhance volume slider behavior #585

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

divadiahim
Copy link
Contributor

This small PR aims to fix the inconsistent slider size, which is currently affected by the text size of the percentage indicator. The variation occurs due to text kerning and changes in width when the number reaches 100, which determines the slider knob to snap from under the cursor.

  • Current implementation
    broken

  • This implementation
    working

@jacksongoode
Copy link
Collaborator

Thank you so much, this looks great!

@jacksongoode jacksongoode merged commit 2e2a13f into jpochyla:main Feb 10, 2025
5 checks passed
@divadiahim divadiahim deleted the impr_vol_slider branch February 10, 2025 13:06
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.

2 participants