mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Expose shuffling to UI
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -142,6 +142,14 @@
|
||||
HorizontalAlignment="Right" Margin="8,0,0,0" Width="120"/>
|
||||
</WrapPanel>
|
||||
|
||||
<!-- Shuffle Tracks -->
|
||||
<WrapPanel Margin="0,0,0,16">
|
||||
<TextBlock Width="120">Shuffle Tracks</TextBlock>
|
||||
<ComboBox Name="ShuffleTracksKeyBind"
|
||||
Items="{Binding KeyboardList}" SelectedItem="{Binding ShuffleTracksKey, Mode=TwoWay}"
|
||||
HorizontalAlignment="Right" Margin="8,0,0,0" Width="120"/>
|
||||
</WrapPanel>
|
||||
|
||||
<!-- Next Index -->
|
||||
<WrapPanel Margin="0,0,0,16">
|
||||
<TextBlock Width="120">Next Index</TextBlock>
|
||||
|
||||
Reference in New Issue
Block a user