From 43692f514ac0ad4153ab6401728055348f24c75b Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 5 Feb 2021 21:11:41 +0100 Subject: [PATCH] Fix --- Source/Engine/UI/UICanvas.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/UI/UICanvas.cs b/Source/Engine/UI/UICanvas.cs index 65956293b..426441493 100644 --- a/Source/Engine/UI/UICanvas.cs +++ b/Source/Engine/UI/UICanvas.cs @@ -369,7 +369,7 @@ namespace FlaxEngine _renderer = null; } #if FLAX_EDITOR - if (_editorRoot) + if (_editorRoot != null) _guiRoot.Parent = _editorRoot; #endif break;