[Deps] WinAppSDK 1.6.1 and CsWinRT 2.1.5 update (#35381)

* [Deps] Update CsWinRT to 2.1.5

* [Deps] Update WinAppSDK to 1.6.1

* [Props] Updated WindowsSdkPackageVersion to 22621.48 in Common.Dotnet.CsWinRT.props

* Updated NOTICE.md

* [Peek] Resolve ambiguity with Color struct
This commit is contained in:
Jeremy Sinclair
2024-10-11 09:35:13 -04:00
committed by GitHub
parent ca1b0acbc9
commit 236d11a67b
8 changed files with 16 additions and 16 deletions

View File

@@ -164,7 +164,7 @@ namespace Peek.FilePreviewer.Controls
if (!_originalBackgroundColor.HasValue)
{
// HACK: We used to store PreviewBrowser.DefaultBackgroundColor here, but WebView started returning transparent when running without a debugger attached. We want html files to be seen as in the browser, which has white as a default background color.
_originalBackgroundColor = Colors.White;
_originalBackgroundColor = Microsoft.UI.Colors.White;
}
// Setting the background color to transparent when initially loading the WebView2 component.