mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user