From 25928417937324d3b8ff47404aa19b89874f9148 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Wed, 1 Feb 2023 18:28:00 -0600 Subject: [PATCH] Code style cleanup --- Source/Engine/UI/GUI/Common/TextBoxBase.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/TextBoxBase.cs b/Source/Engine/UI/GUI/Common/TextBoxBase.cs index cfbf425bd..12760c176 100644 --- a/Source/Engine/UI/GUI/Common/TextBoxBase.cs +++ b/Source/Engine/UI/GUI/Common/TextBoxBase.cs @@ -1141,9 +1141,8 @@ namespace FlaxEngine.GUI public override void OnMouseLeave() { if (Cursor == CursorType.IBeam) - { Cursor = CursorType.Default; - } + base.OnMouseLeave(); } @@ -1162,9 +1161,7 @@ namespace FlaxEngine.GUI } if (Cursor == CursorType.Default && _isEditing) - { Cursor = CursorType.IBeam; - } } /// @@ -1195,9 +1192,7 @@ namespace FlaxEngine.GUI } if (Cursor == CursorType.Default) - { Cursor = CursorType.IBeam; - } return true; }