mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
[Peek]Bring into foreground if previously minimized (#36506)
Added Activate() to bring Peek.UI window into focus upon Toggle. This allows the UI to be presented even if it was previously minimized.
This commit is contained in:
@@ -73,6 +73,7 @@ namespace Peek.UI
|
||||
if (IsNewSingleSelectedItem(foregroundWindowHandle))
|
||||
{
|
||||
Initialize(foregroundWindowHandle);
|
||||
Activate(); // Brings existing window into focus in case it was previously minimized
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user