mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #585] [MERGED] UI: Enhance volume slider behavior #609
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#609
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/585
Author: @divadiahim
Created: 2/8/2025
Status: ✅ Merged
Merged: 2/10/2025
Merged by: @jacksongoode
Base:
main← Head:impr_vol_slider📝 Commits (1)
f29c482added percentage container size constraint📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
psst-gui/src/ui/mod.rs(+2 -1)📄 Description
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

This implementation

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.