Skip to content

UI: Enhance volume slider behavior#585

Merged
jacksongoode merged 1 commit intojpochyla:mainfrom
divadiahim:impr_vol_slider
Feb 10, 2025
Merged

UI: Enhance volume slider behavior#585
jacksongoode merged 1 commit intojpochyla:mainfrom
divadiahim:impr_vol_slider

Conversation

@divadiahim
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Thank you so much, this looks great!

@jacksongoode jacksongoode merged commit 2e2a13f into jpochyla:main Feb 10, 2025
@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