diff --git a/Controls/PreviewPane.xaml b/Controls/PreviewPane.xaml index c16bde8..5399101 100644 --- a/Controls/PreviewPane.xaml +++ b/Controls/PreviewPane.xaml @@ -963,164 +963,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/Controls/PreviewPane.xaml.cs b/Controls/PreviewPane.xaml.cs index 1e0dc94..97ad74e 100644 --- a/Controls/PreviewPane.xaml.cs +++ b/Controls/PreviewPane.xaml.cs @@ -208,13 +208,6 @@ public partial class PreviewPane : UserControl return null; } - private void MicSpeaker_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) - { - if (sender is FrameworkElement { DataContext: MainViewModel vm }) - { - vm.ToggleMicMuteCommand.Execute(null); - } - } private void GameSpeaker_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { @@ -227,18 +220,7 @@ public partial class PreviewPane : UserControl // TRAX (TASK 9): left-click toggles play/pause (picks a track when none is // loaded); right-click always opens the picker. The picker is the OS file // dialog — the "never the OS viewer" rule covers the preview, not pickers. - private void TraxButton_Click(object sender, RoutedEventArgs e) - { - if (DataContext is ViewModels.MainViewModel vm) - vm.TraxLeftClick(); - } - private void TraxButton_PreviewMouseRightButtonUp(object sender, MouseButtonEventArgs e) - { - if (DataContext is ViewModels.MainViewModel vm) - vm.TraxRightClick(); - e.Handled = true; // the button's right-click context menu must not fire - } // ─── Webcam / background context menus (right-click on overlay elements) ─── private void WebcamMenu_ChangeWebcam(object sender, RoutedEventArgs e)