Browse Source
Merge branch 'master' into win32_dpi_awareness_option
pull/12726/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Windows/Avalonia.Win32/WindowImpl.cs
|
|
|
@ -552,7 +552,7 @@ namespace Avalonia.Win32 |
|
|
|
get |
|
|
|
{ |
|
|
|
// Windows 10 and 11 add a 7 pixel invisible border on the left/right/bottom of windows for resizing
|
|
|
|
if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations) |
|
|
|
if (Win32Platform.WindowsVersion.Major < 10 || !HasFullDecorations || GetStyle().HasFlag(WindowStyles.WS_POPUP)) |
|
|
|
{ |
|
|
|
return PixelSize.Empty; |
|
|
|
} |
|
|
|
|