mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 14:02:24 +02:00
[Chore] Upgrading to WinUIEx 2.2 (#26000)
* Upgrading to WinUIEx 2.2 * Replacing Mica * Fix build * Update notice.md --------- Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
This commit is contained in:
@@ -189,7 +189,7 @@ namespace Peek.UI.Views
|
||||
return;
|
||||
}
|
||||
|
||||
var appWindow = MainWindow.GetAppWindow();
|
||||
var appWindow = MainWindow.AppWindow;
|
||||
if (AppWindowTitleBar.IsCustomizationSupported() && appWindow != null && appWindow.TitleBar.ExtendsContentIntoTitleBar)
|
||||
{
|
||||
var scale = MainWindow.GetMonitorScale();
|
||||
@@ -222,7 +222,7 @@ namespace Peek.UI.Views
|
||||
{
|
||||
if (AppWindowTitleBar.IsCustomizationSupported())
|
||||
{
|
||||
AppWindow appWindow = mainWindow.GetAppWindow();
|
||||
AppWindow appWindow = mainWindow.AppWindow;
|
||||
appWindow.TitleBar.ExtendsContentIntoTitleBar = true;
|
||||
appWindow.TitleBar.ButtonBackgroundColor = Colors.Transparent;
|
||||
appWindow.TitleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
|
||||
|
||||
Reference in New Issue
Block a user