diff --git a/Source/Engine/UI/GUI/Common/TextBoxBase.cs b/Source/Engine/UI/GUI/Common/TextBoxBase.cs index 098f81734..cfbf425bd 100644 --- a/Source/Engine/UI/GUI/Common/TextBoxBase.cs +++ b/Source/Engine/UI/GUI/Common/TextBoxBase.cs @@ -1131,7 +1131,9 @@ namespace FlaxEngine.GUI /// public override void OnMouseEnter(Float2 location) { - Cursor = CursorType.IBeam; + if (_isEditing) + Cursor = CursorType.IBeam; + base.OnMouseEnter(location); } @@ -1159,7 +1161,7 @@ namespace FlaxEngine.GUI SetSelection(_selectionStart, currentIndex); } - if (Cursor == CursorType.Default) + if (Cursor == CursorType.Default && _isEditing) { Cursor = CursorType.IBeam; }