Merge branch 'Tryibion-max-min-on-click'
This commit is contained in:
@@ -292,7 +292,8 @@ namespace FlaxEditor.GUI
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
#if PLATFORM_WINDOWS
|
#if PLATFORM_WINDOWS
|
||||||
if (_useCustomWindowSystem)
|
var child = GetChildAtRecursive(location);
|
||||||
|
if (_useCustomWindowSystem && child is not Button && child is not MainMenuButton)
|
||||||
{
|
{
|
||||||
if (_window.IsMaximized)
|
if (_window.IsMaximized)
|
||||||
_window.Restore();
|
_window.Restore();
|
||||||
|
|||||||
Reference in New Issue
Block a user