mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[Peek]Hide window with esc key (#26250)
This commit is contained in:
committed by
GitHub
parent
6f56b35a6c
commit
4560abe557
@@ -69,6 +69,11 @@ namespace Peek.UI
|
||||
ViewModel.AttemptRightNavigation();
|
||||
}
|
||||
|
||||
private void EscKeyInvoked(KeyboardAccelerator sender, KeyboardAcceleratorInvokedEventArgs args)
|
||||
{
|
||||
Uninitialize();
|
||||
}
|
||||
|
||||
private void Initialize()
|
||||
{
|
||||
var bootTime = new System.Diagnostics.Stopwatch();
|
||||
|
||||
Reference in New Issue
Block a user