Skip to content

Commit 2882851

Browse files
snowflyskyhuliangliang
andauthored
fix: correct Windows version parameter in window frame fix (#1818)
Co-authored-by: huliangliang <[email protected]>
1 parent 80feea0 commit 2882851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Native/Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ internal struct MARGINS
5656
public void SetupApp(AppBuilder builder)
5757
{
5858
// Fix drop shadow issue on Windows 10
59-
if (!OperatingSystem.IsWindowsVersionAtLeast(10, 22000))
59+
if (!OperatingSystem.IsWindowsVersionAtLeast(10, 0, 22000))
6060
{
6161
Window.WindowStateProperty.Changed.AddClassHandler<Window>((w, _) => FixWindowFrameOnWin10(w));
6262
Control.LoadedEvent.AddClassHandler<Window>((w, _) => FixWindowFrameOnWin10(w));

0 commit comments

Comments
 (0)