Skip to content

Commit

Permalink
SongMenuList - Show song title first if title letter sorting is active (
Browse files Browse the repository at this point in the history
#531)

Change for #531
  • Loading branch information
Stefan1200-de committed Sep 13, 2020
1 parent e95eafa commit 552f6ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion VocaluxeLib/Menu/SongMenu/CSongMenuList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,11 @@ private void _UpdateList(int offset, bool force = false)
{
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
{
Expand Down

0 comments on commit 552f6ca

Please sign in to comment.