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

@@ -3,7 +3,8 @@
SetSize="300 300">
<BoxContainer Orientation="Vertical">
<RichTextLabel Name="Label" />
<LineEdit Name="InputProtected"
<LineEdit Name="Input"
Access="Public"
Visible="False" />
</BoxContainer>
</SS14Window>

View File

@@ -10,8 +10,6 @@ namespace Content.Client.Paper.UI
[GenerateTypedNameReferences]
public partial class PaperWindow : SS14Window
{
public LineEdit Input => InputProtected;
public PaperWindow()
{
RobustXamlLoader.Load(this);