statusbar: always respect alternative ui separator color
This commit is contained in:
1
NEWS
1
NEWS
@@ -1,6 +1,7 @@
|
|||||||
ncmpcpp-0.7.2 (2016-01-16)
|
ncmpcpp-0.7.2 (2016-01-16)
|
||||||
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
|
* Attempt to add non-song item to playlist from search engine doesn't trigger assertion failure anymore.
|
||||||
* Fetching lyrics from metrolyrics.com was fixed.
|
* Fetching lyrics from metrolyrics.com was fixed.
|
||||||
|
* Alternative UI separator color is now respected regardless of the header_visibility flag.
|
||||||
|
|
||||||
ncmpcpp-0.7.1 (2016-01-01)
|
ncmpcpp-0.7.1 (2016-01-01)
|
||||||
* Selected songs in media library can now be added to playlists.
|
* Selected songs in media library can now be added to playlists.
|
||||||
|
|||||||
@@ -726,7 +726,7 @@ void Status::Changes::flags()
|
|||||||
*wHeader << NC::XY(COLS-switch_state.length(), 1) << NC::Format::Bold << Config.state_flags_color << switch_state << NC::Color::End << NC::Format::NoBold;
|
*wHeader << NC::XY(COLS-switch_state.length(), 1) << NC::Format::Bold << Config.state_flags_color << switch_state << NC::Color::End << NC::Format::NoBold;
|
||||||
if (!Config.header_visibility) // in this case also draw separator
|
if (!Config.header_visibility) // in this case also draw separator
|
||||||
{
|
{
|
||||||
*wHeader << NC::Format::Bold << NC::Color::Black;
|
*wHeader << NC::Format::Bold << Config.alternative_ui_separator_color;
|
||||||
mvwhline(wHeader->raw(), 2, 0, 0, COLS);
|
mvwhline(wHeader->raw(), 2, 0, 0, COLS);
|
||||||
*wHeader << NC::Color::End << NC::Format::NoBold;
|
*wHeader << NC::Color::End << NC::Format::NoBold;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user