mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-01 18:35:13 +00:00
Revert SVG default background to transparent
This commit is contained in:
@@ -68,9 +68,7 @@ public class SvgImagePanel : WebpagePanel, IWebImagePanel
|
|||||||
{
|
{
|
||||||
UserDataFolder = Path.Combine(SettingHelper.LocalDataPath, @"WebView2_Data\"),
|
UserDataFolder = Path.Combine(SettingHelper.LocalDataPath, @"WebView2_Data\"),
|
||||||
},
|
},
|
||||||
|
DefaultBackgroundColor = Color.Transparent,
|
||||||
// Prevent white flash in dark mode
|
|
||||||
DefaultBackgroundColor = OSThemeHelper.AppsUseDarkTheme() ? Color.FromArgb(255, 32, 32, 32) : Color.White,
|
|
||||||
};
|
};
|
||||||
_webView.CoreWebView2InitializationCompleted += WebView_CoreWebView2InitializationCompleted;
|
_webView.CoreWebView2InitializationCompleted += WebView_CoreWebView2InitializationCompleted;
|
||||||
Content = _webView;
|
Content = _webView;
|
||||||
|
Reference in New Issue
Block a user