Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<SS14Window xmlns="https://spacestation14.io"
|
||||
<DefaultWindow xmlns="https://spacestation14.io"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||
MinSize="400 525"
|
||||
@@ -115,4 +115,4 @@
|
||||
</PanelContainer>
|
||||
</PanelContainer>
|
||||
</BoxContainer>
|
||||
</SS14Window>
|
||||
</DefaultWindow>
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Client-side UI used to control a <see cref="SharedChemMasterComponent"/>
|
||||
/// </summary>
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class ChemMasterWindow : SS14Window
|
||||
public partial class ChemMasterWindow : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
public event Action<string>? OnLabelEntered;
|
||||
@@ -197,7 +197,7 @@ namespace Content.Client.Chemistry.UI
|
||||
if (!state.BufferReagents.Any())
|
||||
{
|
||||
BufferInfo.Children.Add(new Label { Text = Loc.GetString("chem-master-window-buffer-empty-text") });
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<SS14Window xmlns="https://spacestation14.io"
|
||||
<DefaultWindow xmlns="https://spacestation14.io"
|
||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||
Title="{Loc 'reagent-dispenser-bound-user-interface-title'}"
|
||||
SetSize="590 450"
|
||||
@@ -46,4 +46,4 @@
|
||||
</BoxContainer>
|
||||
</PanelContainer>
|
||||
</BoxContainer>
|
||||
</SS14Window>
|
||||
</DefaultWindow>
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Client-side UI used to control a <see cref="SharedReagentDispenserComponent"/>
|
||||
/// </summary>
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class ReagentDispenserWindow : SS14Window
|
||||
public partial class ReagentDispenserWindow : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<SS14Window xmlns="https://spacestation14.io"
|
||||
<DefaultWindow xmlns="https://spacestation14.io"
|
||||
Title="{Loc 'ui-transfer-amount-title'}"
|
||||
Resizable="False">
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
</BoxContainer>
|
||||
<Button Name="ApplyButton" Access="Public" Text="{Loc 'ui-transfer-amount-apply'}"/>
|
||||
</BoxContainer>
|
||||
</SS14Window>
|
||||
</DefaultWindow>
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.XAML;
|
||||
namespace Content.Client.Chemistry.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class TransferAmountWindow : SS14Window
|
||||
public partial class TransferAmountWindow : DefaultWindow
|
||||
{
|
||||
public TransferAmountWindow()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user