[Deps]Upgrade WpfUI to preview.9 and fix Windows 10 background issue (#29884)

* Bumping to preview9
This commit is contained in:
Niels Laute
2023-11-16 17:37:21 +01:00
committed by GitHub
parent 468e55c7e1
commit 412550abcd
9 changed files with 36 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Timers;
using Common.UI;
using Microsoft.PowerToys.Settings.UI.Library.Utilities;
namespace Microsoft.PowerToys.Settings.UI.ViewModels.Flyout
@@ -39,7 +40,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels.Flyout
_hideTimer.Elapsed += HideTimer_Elapsed;
_hideTimer.Interval = 1000;
_hideTimer.Enabled = false;
_windows10 = !Helper.Windows11();
_windows10 = !OSVersionHelper.IsWindows11();
}
private void HideTimer_Elapsed(object sender, ElapsedEventArgs e)