Expose shuffling to UI

This commit is contained in:
Matt Nadareski
2021-10-06 12:59:11 -07:00
parent c5a4b6a153
commit ff5006063a
4 changed files with 18 additions and 5 deletions

View File

@@ -101,10 +101,10 @@ namespace RedBookPlayer.GUI.ViewModels
}
// Shuffle Track List
// else if(e.Key == App.Settings.ShuffleTracksKey)
// {
// PlayerView?.ViewModel?.ExecuteShuffle();
// }
else if(e.Key == App.Settings.ShuffleTracksKey)
{
PlayerView?.ViewModel?.ExecuteShuffle();
}
// Next Index
else if(e.Key == App.Settings.NextIndexKey)

View File

@@ -183,7 +183,7 @@ namespace RedBookPlayer.GUI.ViewModels
/// <summary>
/// Key assigned to shuffling the track list
/// </summary>
// public Key ShuffleTracksKey { get; set; } = Key.R;
public Key ShuffleTracksKey { get; set; } = Key.R;
/// <summary>
/// Key assigned to move to the next index