fix various issues with console controls

This commit is contained in:
2023-05-19 00:30:31 +03:00
parent b5ec0b86b2
commit 3a59bad850
4 changed files with 41 additions and 17 deletions

View File

@@ -39,6 +39,7 @@ namespace Game
IsReadOnly = false;
CaretColor = new Color(1f, 1f, 1f, 1f);
AutoFocus = true;
EndEditOnClick = false;
_layout = TextLayoutOptions.Default;
_layout.VerticalAlignment = IsMultiline ? TextAlignment.Near : TextAlignment.Center;