[PTRun]Shift+Tab navigation fixes (#26987)

This commit is contained in:
Davide Giacometti
2023-07-12 14:51:55 +02:00
committed by GitHub
parent 7b00c6155e
commit bf0d442770
2 changed files with 2 additions and 3 deletions

View File

@@ -455,7 +455,7 @@ namespace PowerLauncher
private void Launcher_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Tab && Keyboard.IsKeyDown(Key.LeftShift))
if (e.Key == Key.Tab && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift)))
{
_viewModel.SelectPrevTabItemCommand.Execute(null);
UpdateTextBoxToSelectedItem();

View File

@@ -221,9 +221,8 @@ namespace PowerLauncher.ViewModel
// Do nothing if there is no selected item
if (SelectedItem != null)
{
// Tabbing backwards should highlight the last item of the previous row
// Tabbing backwards
SelectPrevResult();
SelectedItem?.SelectLastContextButton();
}
}
}