Merge pull request #541 from Vocaluxe/TitleFirstOnTitleSort

SongMenuList - Show song title first if title letter sorting is active
This commit is contained in:
Stefan authored and GitHub committed 2020-09-14 19:38:35 +02:00
commit d368b82326
1 file changed
+5 -1
+5 -1
View File
@@ -678,7 +678,11 @@ namespace VocaluxeLib.Menu.SongMenu
{
CSong currentSong = CBase.Songs.GetVisibleSong(i + offset);
_Tiles[i].Texture = currentSong.CoverTextureSmall;
_Texts[i].Text = currentSong.Artist + " - " + currentSong.Title;
if (CBase.Config.GetSongSorting() == ESongSorting.TR_CONFIG_TITLE_LETTER)
_Texts[i].Text = currentSong.Title + " - " + currentSong.Artist;
else
_Texts[i].Text = currentSong.Artist + " - " + currentSong.Title;
}
else
{