mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
[FZ Editor] Accessibility fixes (#11097)
* Added tabindex to editor windows * Hide icons * Keyboard accesibile dialog Co-authored-by: Niels Laute <niels9001@hotmail.com>
This commit is contained in:
@@ -423,5 +423,18 @@ namespace FancyZonesEditor
|
||||
{
|
||||
monitorViewModel.SelectCommand.Execute(e.ClickedItem as MonitorInfoModel);
|
||||
}
|
||||
|
||||
private void ComboBox_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Key == Key.Enter || e.Key == Key.Space)
|
||||
{
|
||||
e.Handled = true;
|
||||
ComboBox selectedComboBox = sender as ComboBox;
|
||||
if (!selectedComboBox.IsDropDownOpen)
|
||||
{
|
||||
selectedComboBox.IsDropDownOpen = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user