From ac7d993bd7574b5b222a88090a1d684ab2d90def Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Sun, 1 Dec 2024 01:54:30 -0600 Subject: [PATCH] Hold shift to perform opposite middle mouse action --- RetroBar/Controls/TaskButton.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RetroBar/Controls/TaskButton.xaml.cs b/RetroBar/Controls/TaskButton.xaml.cs index d8e78364..a77425bb 100644 --- a/RetroBar/Controls/TaskButton.xaml.cs +++ b/RetroBar/Controls/TaskButton.xaml.cs @@ -182,7 +182,8 @@ private void AppButton_OnMouseUp(object sender, MouseButtonEventArgs e) { return; } - if (Settings.Instance.TaskMiddleClickAction == TaskMiddleClickOption.CloseTask) + if (Settings.Instance.TaskMiddleClickAction == TaskMiddleClickOption.CloseTask != + (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))) { Window?.Close(); }