Fix main menu text alignment

This commit is contained in:
Evil Factory
2026-04-21 22:58:42 -03:00
parent 93bdd03f54
commit 798954d182
@@ -43,7 +43,9 @@ internal class MainMenuPatch : ISystem, IEventScreenSelected
{ {
if (mainMenuUIAdded) { return; } if (mainMenuUIAdded) { return; }
var textBlock = new GUITextBlock(new RectTransform(new Point(300, 30), screen.Frame.RectTransform, Anchor.TopLeft) { AbsoluteOffset = new Point(10, 10) }, "", Color.Red) var textBlock = new GUITextBlock(
new RectTransform(new Point(300, 30), screen.Frame.RectTransform, Anchor.TopLeft) { AbsoluteOffset = new Point(10, 10) },
"", Color.Red, textAlignment: Alignment.TopLeft)
{ {
IgnoreLayoutGroups = false IgnoreLayoutGroups = false
}; };