mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-10-20 10:43:28 +00:00
Disable transparency in Win11
This commit is contained in:
@@ -38,7 +38,8 @@ namespace QuickLook
|
||||
public static readonly string AppPath = Path.GetDirectoryName(AppFullPath);
|
||||
public static readonly bool Is64Bit = Environment.Is64BitProcess;
|
||||
public static readonly bool IsUWP = ProcessHelper.IsRunningAsUWP();
|
||||
public static readonly bool IsWin10 = Environment.OSVersion.Version >= new Version(10, 0);
|
||||
public static readonly bool IsWin11 = Environment.OSVersion.Version >= new Version(10, 0, 21996);
|
||||
public static readonly bool IsWin10 = !IsWin11 && Environment.OSVersion.Version >= new Version(10, 0);
|
||||
public static readonly bool IsGPUInBlacklist = SystemHelper.IsGPUInBlacklist();
|
||||
public static readonly bool IsPortable = SettingHelper.IsPortableVersion();
|
||||
|
||||
|
@@ -105,6 +105,7 @@ namespace QuickLook
|
||||
if (SettingHelper.Get("UseTransparency", true)
|
||||
&& SystemParameters.IsGlassEnabled
|
||||
&& App.IsWin10
|
||||
&& !App.IsWin11
|
||||
&& !App.IsGPUInBlacklist
|
||||
)
|
||||
WindowHelper.EnableBlur(this);
|
||||
|
Reference in New Issue
Block a user