[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:
Asif Islam
2025-01-13 16:28:44 -05:00
committed by GitHub
parent 4951a63352
commit 8896cf83cd

View File

@@ -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
{