Fix free name textbox by not changing it as much

I dont care that the text is smaller and no one else cares either
This commit is contained in:
Alexejhero authored and js6pak committed 2024-08-17 05:25:48 +02:00
1 parent bbdbd5bec8
commit de3b20e205
1 file changed
-3
@@ -35,15 +35,12 @@ internal static class FreeNamePatch
var textBox = nameText.GetComponent<TextBoxTMP>();
textBox.outputText.alignment = TextAlignmentOptions.CenterGeoAligned;
textBox.outputText.transform.position = nameText.transform.position;
textBox.outputText.fontSize = 4f;
textBox.OnChange.AddListener((Action) (() =>
{
DataManager.Player.Customization.Name = textBox.text;
}));
textBox.OnEnter = textBox.OnFocusLost = textBox.OnChange;
textBox.Pipe.GetComponent<TextMeshPro>().fontSize = 4f;
}));
}