Added randomize/reverse songs logic. Added initial UI-side locking logic.

This commit is contained in:
2026-08-03 22:38:16 -04:00
parent 99978c62c4
commit 2b78ac5667
6 changed files with 240 additions and 18 deletions

View File

@@ -167,9 +167,9 @@
<MenuFlyoutItem Text="Remove Missing" Command="{Binding RemoveMissingSongsCommand}">
</MenuFlyoutItem>
<MenuFlyoutItem Text="Lock Playlist">
</MenuFlyoutItem>
<ToggleMenuFlyoutItem Text="Lock Playlist" IsChecked="{Binding Playlist.IsLocked}">
</ToggleMenuFlyoutItem>
<MenuFlyoutSeparator></MenuFlyoutSeparator>
@@ -179,6 +179,11 @@
<MenuFlyoutSeparator></MenuFlyoutSeparator>
<MenuFlyoutSubItem x:Name="SortByMenuFlyoutSubItem" Text="Sort By...">
<MenuFlyoutSeparator></MenuFlyoutSeparator>
<MenuFlyoutItem Text="Randomize" Command="{Binding RandomizeAllCommand}">
</MenuFlyoutItem>
<MenuFlyoutItem Text="Reverse" Command="{Binding ReverseAllCommand}">
</MenuFlyoutItem>
</MenuFlyoutSubItem>
<MenuFlyoutSeparator></MenuFlyoutSeparator>
@@ -238,6 +243,11 @@
<MenuFlyoutSubItem.Icon>
<PathIcon Data="{StaticResource SortIcon}"></PathIcon>
</MenuFlyoutSubItem.Icon>
<MenuFlyoutSeparator></MenuFlyoutSeparator>
<MenuFlyoutItem Text="Randomize" Command="{Binding RandomizeSelectedCommand}">
</MenuFlyoutItem>
<MenuFlyoutItem Text="Reverse" Command="{Binding ReverseSelectedCommand}">
</MenuFlyoutItem>
</MenuFlyoutSubItem>
<MenuFlyoutSeparator></MenuFlyoutSeparator>
<MenuFlyoutItem Text="Cut" Command="{Binding CutSongsCommand}">