From 7e622a69a691b59e63cbd5ce1fb533fc4e15d2e5 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 7 Apr 2021 20:53:18 +0200 Subject: [PATCH] Fix `AutoFocus` saved in data for controls --- Source/Engine/UI/GUI/Control.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/UI/GUI/Control.cs b/Source/Engine/UI/GUI/Control.cs index 1b6779ff8..afdd86bcb 100644 --- a/Source/Engine/UI/GUI/Control.cs +++ b/Source/Engine/UI/GUI/Control.cs @@ -456,9 +456,9 @@ namespace FlaxEngine.GUI #region Focus /// - /// Gets a value indicating whether the control can receive automatic focus on user events (eg. mouse down. + /// Gets a value indicating whether the control can receive automatic focus on user events (eg. mouse down). /// - [HideInEditor] + [HideInEditor, NoSerialize] public bool AutoFocus { get => _autoFocus;