mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[Window Walker] Enable tabbing to scroll (#1814)
* Enable tabbing to scroll * Also handle Shift + Tab
This commit is contained in:
@@ -68,14 +68,14 @@ namespace WindowWalker
|
||||
viewModel.WindowHideCommand.Execute(null);
|
||||
}
|
||||
}
|
||||
else if (e.Key == Key.Down)
|
||||
else if (e.Key == Key.Down || (e.Key == Key.Tab && Keyboard.Modifiers != ModifierKeys.Shift))
|
||||
{
|
||||
if (viewModel.WindowNavigateToNextResultCommand.CanExecute(null))
|
||||
{
|
||||
viewModel.WindowNavigateToNextResultCommand.Execute(null);
|
||||
}
|
||||
}
|
||||
else if (e.Key == Key.Up)
|
||||
else if (e.Key == Key.Up || (e.Key == Key.Tab && Keyboard.Modifiers == ModifierKeys.Shift))
|
||||
{
|
||||
if (viewModel.WindowNavigateToPreviousResultCommand.CanExecute(null))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user