diff --git a/Dopamine/Views/Shell.xaml.cs b/Dopamine/Views/Shell.xaml.cs index 6f233e6ee..e52d5e11e 100644 --- a/Dopamine/Views/Shell.xaml.cs +++ b/Dopamine/Views/Shell.xaml.cs @@ -479,10 +479,12 @@ private void Window_KeyDown(object sender, KeyEventArgs e) } else if (e.Key == Key.Left) { + e.Handled = true; // Prevents grid focus stealing this.playbackService.SkipSeconds(Convert.ToInt32(-5)); } else if (e.Key == Key.Right) { + e.Handled = true; // Prevents grid focus stealing this.playbackService.SkipSeconds(Convert.ToInt32(5)); } } @@ -506,10 +508,12 @@ private void Window_KeyDown(object sender, KeyEventArgs e) } else if (e.Key == Key.Left) { + e.Handled = true; // Prevents grid focus stealing this.playbackService.SkipSeconds(Convert.ToInt32(-15)); } else if (e.Key == Key.Right) { + e.Handled = true; // Prevents grid focus stealing this.playbackService.SkipSeconds(Convert.ToInt32(15)); } }