Remove encapsulation for previously protected XAML UI fields (#4975)

This commit is contained in:
Visne
2021-10-28 14:23:17 +02:00
committed by GitHub
parent aed66cfc48
commit ac78145b94
49 changed files with 158 additions and 202 deletions

View File

@@ -2,7 +2,8 @@
MinSize="250 100"
SetSize="250 100">
<BoxContainer Orientation="Vertical">
<Button Name="ScanButtonProtected"
<Button Name="ScanButton"
Access="Public"
Text="{Loc 'medical-scanner-window-save-button-text'}" />
<Label Name="Diagnostics" />
</BoxContainer>

View File

@@ -17,8 +17,6 @@ namespace Content.Client.MedicalScanner.UI
[GenerateTypedNameReferences]
public partial class MedicalScannerWindow : SS14Window
{
public Button ScanButton => ScanButtonProtected;
public MedicalScannerWindow()
{
RobustXamlLoader.Load(this);