Remove encapsulation for previously protected XAML UI fields (#4975)
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<RichTextLabel Name="Status" />
|
||||
</BoxContainer>
|
||||
<Button Name="SwitchProtected"
|
||||
<Button Name="Switch"
|
||||
Access="Public"
|
||||
TextAlign="Center"
|
||||
MinHeight="60" />
|
||||
</BoxContainer>
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Client.Gravity.UI
|
||||
{
|
||||
private readonly GravityGeneratorBoundUserInterface _owner;
|
||||
|
||||
public Button Switch => SwitchProtected;
|
||||
|
||||
public GravityGeneratorWindow(GravityGeneratorBoundUserInterface ui)
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
Reference in New Issue
Block a user