Skip to content

Commit 78ffc2b

Browse files
committed
ux: pressing ESC will also clear notifications
Signed-off-by: leo <longshuang@msn.cn>
1 parent 1b8ce0e commit 78ffc2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/Views/Launcher.axaml.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ protected override async void OnKeyDown(KeyEventArgs e)
299299
else if (e.Key == Key.Escape)
300300
{
301301
vm.ActivePage.CancelPopup();
302+
vm.ActivePage.Notifications.Clear();
302303
e.Handled = true;
303304
return;
304305
}

0 commit comments

Comments
 (0)