Browse Source
Fixed an issue that windows empty Win32 window would show when changing properties (#13097)
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/13106/head
Lighto
2 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
|
|
|
@ -1409,7 +1409,7 @@ namespace Avalonia.Win32 |
|
|
|
} |
|
|
|
|
|
|
|
// Ensure window state if decorations change
|
|
|
|
if (oldProperties.Decorations != newProperties.Decorations) |
|
|
|
if (_shown && oldProperties.Decorations != newProperties.Decorations) |
|
|
|
ShowWindow(WindowState, false); |
|
|
|
} |
|
|
|
|
|
|
|
|