mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
remove pdsplay
This commit is contained in:
@@ -318,17 +318,7 @@ namespace PowerDisplay
|
||||
{
|
||||
// Window properties (IsResizable, IsMaximizable, IsMinimizable, IsTitleBarVisible)
|
||||
// are set in XAML. IsShownInSwitchers must be set programmatically due to WinUIEx limitations.
|
||||
try
|
||||
{
|
||||
this.AppWindow.IsShownInSwitchers = false;
|
||||
}
|
||||
catch (NotImplementedException)
|
||||
{
|
||||
// WinUI will throw if explorer is not running, safely ignore
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
this.AppWindow.IsShownInSwitchers = false;
|
||||
|
||||
// Set minimal initial window size - will be adjusted before showing
|
||||
// Using minimal height to prevent "large window shrinking" flicker
|
||||
|
||||
Reference in New Issue
Block a user