Browse Source
fix THICKFRAME style being applied on maximized when border is removed (#14882)
release/11.1.0-beta1
Emmanuel Hansen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Windows/Avalonia.Win32/WindowImpl.cs
|
|
|
@ -1423,7 +1423,7 @@ namespace Avalonia.Win32 |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
style &= ~fullDecorationFlags; |
|
|
|
style &= ~(fullDecorationFlags | WindowStyles.WS_THICKFRAME); |
|
|
|
|
|
|
|
if (newProperties.Decorations == SystemDecorations.BorderOnly && newProperties.WindowState != WindowState.Maximized) |
|
|
|
{ |
|
|
|
|