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\"),
|
||||
},
|
||||
|
||||
// Prevent white flash in dark mode
|
||||
DefaultBackgroundColor = OSThemeHelper.AppsUseDarkTheme() ? Color.FromArgb(255, 32, 32, 32) : Color.White,
|
||||
DefaultBackgroundColor = Color.Transparent,
|
||||
};
|
||||
_webView.CoreWebView2InitializationCompleted += WebView_CoreWebView2InitializationCompleted;
|
||||
Content = _webView;
|
||||
|
Reference in New Issue
Block a user