change fontSize in awake instead of constructor so unity dev build wont be mad

This commit is contained in:
JohnCorby 2021-12-28 21:01:36 -08:00
parent ecdfaa7a1e
commit 74a1c3cb46

View File

@ -27,13 +27,11 @@ namespace QSB.Utility
private const int MaxLabelSize = 15;
private const float MaxLabelDistance = 150;
private readonly GUIStyle guiGUIStyle = new()
{
fontSize = 9
};
private readonly GUIStyle guiGUIStyle = new();
private static readonly GUIStyle labelGUIStyle = new();
private void Awake() => guiGUIStyle.fontSize = 9;
private void WriteLine(int columnID, string text)
{
var currentOffset = 0f;