mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
[PTRun]Shift+Tab navigation fixes (#26987)
This commit is contained in:
committed by
GitHub
parent
7b00c6155e
commit
bf0d442770
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user