[PR #986] [CLOSED] Update progress label to be visible if progress bar is same color #1113

Closed
opened 2026-02-28 14:54:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/986
Author: @rnewton5
Created: 5/27/2022
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 84f26a1 Update progress label to be visible if progress bar is same color

📊 Changes

1 file changed (+14 additions, -6 deletions)

View changed files

📝 src/ui/mod.rs (+14 -6)

📄 Description

This PR is in response to https://github.com/Rigellute/spotify-tui/issues/984.

It updates how the song_progress's label is set, to ensure the duration can be seen even if the text color matches the playbar's foreground color. If the label's color has been set to one that is different from the playbar's foreground color, this change will have no effect.

image


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

## 📋 Pull Request Information **Original PR:** https://github.com/Rigellute/spotify-tui/pull/986 **Author:** [@rnewton5](https://github.com/rnewton5) **Created:** 5/27/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`84f26a1`](https://github.com/Rigellute/spotify-tui/commit/84f26a18a6bb2ec01a7f9099e1af3291283242d6) Update progress label to be visible if progress bar is same color ### 📊 Changes **1 file changed** (+14 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/ui/mod.rs` (+14 -6) </details> ### 📄 Description This PR is in response to https://github.com/Rigellute/spotify-tui/issues/984. It updates how the song_progress's label is set, to ensure the duration can be seen even if the text color matches the playbar's foreground color. If the label's color has been set to one that is different from the playbar's foreground color, this change will have no effect. ![image](https://user-images.githubusercontent.com/17453331/170792277-a8c47976-b406-40f5-9fb1-dd7b2c161773.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:54:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#1113
No description provided.