Merge pull request #541 from Vocaluxe/TitleFirstOnTitleSort
SongMenuList - Show song title first if title letter sorting is active
This commit is contained in:
1 file changed
+5
-1
@@ -678,7 +678,11 @@ namespace VocaluxeLib.Menu.SongMenu
|
|||||||
{
|
{
|
||||||
CSong currentSong = CBase.Songs.GetVisibleSong(i + offset);
|
CSong currentSong = CBase.Songs.GetVisibleSong(i + offset);
|
||||||
_Tiles[i].Texture = currentSong.CoverTextureSmall;
|
_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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user