From 84c89245b6abc74ae799e49826b16e7b0a9dae29 Mon Sep 17 00:00:00 2001
From: rhailrake <49613070+rhailrake@users.noreply.github.com>
Date: Thu, 1 Feb 2024 02:43:57 +0600
Subject: [PATCH] - fix: Lobby fixes
---
Content.Client/Entry/EntryPoint.cs | 4 +--
Content.Client/Lobby/UI/LobbyGui.xaml | 2 +-
Content.Client/_Ohio/UI/OhioRichTextLabel.cs | 30 --------------------
3 files changed, 3 insertions(+), 33 deletions(-)
delete mode 100644 Content.Client/_Ohio/UI/OhioRichTextLabel.cs
diff --git a/Content.Client/Entry/EntryPoint.cs b/Content.Client/Entry/EntryPoint.cs
index 0b98428206..36b1478952 100644
--- a/Content.Client/Entry/EntryPoint.cs
+++ b/Content.Client/Entry/EntryPoint.cs
@@ -179,8 +179,8 @@ namespace Content.Client.Entry
_overlayManager.AddOverlay(new SingularityOverlay());
_overlayManager.AddOverlay(new FlashOverlay());
_overlayManager.AddOverlay(new RadiationPulseOverlay());
- _overlayManager.AddOverlay(new GrainOverlay());
- _overlayManager.AddOverlay(new AtmOverlay());
+ // _overlayManager.AddOverlay(new GrainOverlay());
+ // _overlayManager.AddOverlay(new AtmOverlay());
_chatManager.Initialize();
_clientPreferencesManager.Initialize();
_euiManager.Initialize();
diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml b/Content.Client/Lobby/UI/LobbyGui.xaml
index 80df70d8fc..49f57c4945 100644
--- a/Content.Client/Lobby/UI/LobbyGui.xaml
+++ b/Content.Client/Lobby/UI/LobbyGui.xaml
@@ -57,7 +57,7 @@
-
diff --git a/Content.Client/_Ohio/UI/OhioRichTextLabel.cs b/Content.Client/_Ohio/UI/OhioRichTextLabel.cs
deleted file mode 100644
index 9ea3e10970..0000000000
--- a/Content.Client/_Ohio/UI/OhioRichTextLabel.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Numerics;
-using Robust.Client.Graphics;
-using Robust.Client.UserInterface.Controls;
-
-namespace Content.Client._Ohio.UI;
-
-public sealed class OhioRichTextLabel : RichTextLabel
-{
- private Texture? _moonTexture;
- private string? _moonTexturePath = "/Textures/Ohio/Lobby/moon.png";
-
- public OhioRichTextLabel()
- {
- _moonTexture = Theme.ResolveTexture(_moonTexturePath);
- }
-
- protected override void Draw(DrawingHandleScreen handle)
- {
- base.Draw(handle);
-
- var moonTexture = _moonTexture;
-
- if (moonTexture == null)
- return;
-
- var moonPosition = new Vector2(SizeBox.Right + 2, SizeBox.Top + (SizeBox.Height - moonTexture.Size.Y) / 2);
-
- handle.DrawTextureRectRegion(moonTexture, UIBox2.FromDimensions(moonPosition, moonTexture.Size));
- }
-}