A
This commit is contained in:
parent
8dd59cb08a
commit
ffd947eb2e
@ -99,7 +99,7 @@ namespace LibationAvalonia
|
|||||||
|
|
||||||
public static void HideMinMaxBtns(this Window form)
|
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;
|
return;
|
||||||
var handle = form.PlatformImpl.Handle.Handle;
|
var handle = form.PlatformImpl.Handle.Handle;
|
||||||
var currentStyle = GetWindowLong(handle, GWL_STYLE);
|
var currentStyle = GetWindowLong(handle, GWL_STYLE);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user