1
0
mirror of synced 2025-02-02 12:27:20 +01:00

Set text color to black

This commit is contained in:
Stepland 2020-02-11 23:40:23 +01:00
parent cea16eee6f
commit 8836669b4b

View File

@ -89,7 +89,7 @@ namespace MusicSelect {
song_title.setFont(m_resources.noto_sans_medium);
song_title.setString(m_song.title);
song_title.setCharacterSize(static_cast<unsigned int>(0.06875f*m_size));
song_title.setFillColor(sf::Color::White);
song_title.setFillColor(sf::Color::Black);
auto song_title_bounds = song_title.getLocalBounds();
// text is too long : scale it
if (song_title_bounds.width > 0.88f * m_size) {