Skip to content

Commit

Permalink
Merge pull request #966 from dremin/shift-middle-click
Browse files Browse the repository at this point in the history
Hold shift to perform opposite middle mouse action
  • Loading branch information
dremin authored Dec 1, 2024
2 parents 88a2947 + ac7d993 commit 74228bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RetroBar/Controls/TaskButton.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 74228bd

Please sign in to comment.