mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
[FZ Editor] Edit dialog UX fixes (#10734)
* Updates to UI * Handle enter key * Focus visual fix * Fix Co-authored-by: Niels Laute <niels9001@hotmail.com>
This commit is contained in:
@@ -421,5 +421,14 @@ namespace FancyZonesEditor
|
||||
{
|
||||
_openedDialog = null;
|
||||
}
|
||||
|
||||
private void EditDialogNumberBox_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
// Making sure that pressing Enter when changing values in a NumberBox will not close the edit dialog.
|
||||
if (e.Key == Key.Enter)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user