mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-29 02:16:11 +08:00
#955: Provide workaround for Windows 11 transparency issue
This commit is contained in:
@@ -67,8 +67,6 @@ namespace QuickLook
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
SettingHelper.Set("ShowTrayIcon", _icon.Visible);
|
||||
|
||||
_icon.Visible = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,11 @@ namespace QuickLook
|
||||
{
|
||||
base.OnApplyTemplate();
|
||||
|
||||
if (SystemParameters.IsGlassEnabled && App.IsWin10 && !App.IsGPUInBlacklist)
|
||||
if (SettingHelper.Get("UseTransparency", true)
|
||||
&& SystemParameters.IsGlassEnabled
|
||||
&& App.IsWin10
|
||||
&& !App.IsGPUInBlacklist
|
||||
)
|
||||
WindowHelper.EnableBlur(this);
|
||||
else
|
||||
Background = (Brush) FindResource("MainWindowBackgroundNoTransparent");
|
||||
|
||||
Reference in New Issue
Block a user