Remove v0.1 version number from local main menu screen (#20617)

This commit is contained in:
DrSmugleaf
2023-09-29 21:54:46 -07:00
committed by GitHub
parent ca64217e37
commit 379de4b22a
2 changed files with 17 additions and 23 deletions

View File

@@ -41,6 +41,5 @@
Name="ChangelogButton" Name="ChangelogButton"
Access="Public"/> Access="Public"/>
</BoxContainer> </BoxContainer>
<Label Name="VersionLabel" Text="v0.1" />
</LayoutContainer> </LayoutContainer>
</Control> </Control>

View File

@@ -6,8 +6,8 @@ using Robust.Client.UserInterface.XAML;
using Robust.Shared; using Robust.Shared;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
namespace Content.Client.MainMenu.UI namespace Content.Client.MainMenu.UI;
{
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class MainMenuControl : Control public sealed partial class MainMenuControl : Control
{ {
@@ -27,10 +27,5 @@ namespace Content.Client.MainMenu.UI
var currentUserName = configMan.GetCVar(CVars.PlayerName); var currentUserName = configMan.GetCVar(CVars.PlayerName);
UsernameBox.Text = currentUserName; UsernameBox.Text = currentUserName;
LayoutContainer.SetAnchorPreset(VersionLabel, LayoutContainer.LayoutPreset.BottomRight);
LayoutContainer.SetGrowHorizontal(VersionLabel, LayoutContainer.GrowDirection.Begin);
LayoutContainer.SetGrowVertical(VersionLabel, LayoutContainer.GrowDirection.Begin);
}
} }
} }