Remove v0.1 version number from local main menu screen (#20617)
This commit is contained in:
@@ -41,6 +41,5 @@
|
|||||||
Name="ChangelogButton"
|
Name="ChangelogButton"
|
||||||
Access="Public"/>
|
Access="Public"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Label Name="VersionLabel" Text="v0.1" />
|
|
||||||
</LayoutContainer>
|
</LayoutContainer>
|
||||||
</Control>
|
</Control>
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user