A
This commit is contained in:
parent
8dd59cb08a
commit
ffd947eb2e
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ namespace LibationAvalonia
|
|||
|
||||
public static void HideMinMaxBtns(this Window form)
|
||||
{
|
||||
if (Design.IsDesignMode && App.PlatformID is not PlatformID.Win32NT)
|
||||
if (Design.IsDesignMode || App.PlatformID is not PlatformID.Win32NT)
|
||||
return;
|
||||
var handle = form.PlatformImpl.Handle.Handle;
|
||||
var currentStyle = GetWindowLong(handle, GWL_STYLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue