Remove encapsulation for previously protected XAML UI fields (#4975)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -17,8 +17,6 @@ namespace Content.Client.MedicalScanner.UI
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class MedicalScannerWindow : SS14Window
|
||||
{
|
||||
public Button ScanButton => ScanButtonProtected;
|
||||
|
||||
public MedicalScannerWindow()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
Reference in New Issue
Block a user