Remove encapsulation for previously protected XAML UI fields (#4975)
This commit is contained in:
@@ -71,11 +71,14 @@
|
||||
Align="End"
|
||||
HorizontalExpand="True"
|
||||
VerticalExpand="True">
|
||||
<Button Name="ServerSelectionButtonProtected"
|
||||
<Button Name="ServerSelectionButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'research-console-menu-server-selection-button'}" />
|
||||
<Button Name="ServerSyncButtonProtected"
|
||||
<Button Name="ServerSyncButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'research-console-menu-server-sync-button'}" />
|
||||
<Button Name="UnlockButtonProtected"
|
||||
<Button Name="UnlockButton"
|
||||
Access="Public"
|
||||
Disabled="True" />
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
|
||||
@@ -21,10 +21,6 @@ namespace Content.Client.Research.UI
|
||||
private readonly List<TechnologyPrototype> _unlockableTechnologyPrototypes = new();
|
||||
private readonly List<TechnologyPrototype> _futureTechnologyPrototypes = new();
|
||||
|
||||
public Button UnlockButton => UnlockButtonProtected;
|
||||
public Button ServerSelectionButton => ServerSelectionButtonProtected;
|
||||
public Button ServerSyncButton => ServerSyncButtonProtected;
|
||||
|
||||
public TechnologyPrototype? TechnologySelected;
|
||||
|
||||
public ResearchConsoleMenu(ResearchConsoleBoundUserInterface owner)
|
||||
|
||||
Reference in New Issue
Block a user