(0151f8b18) Fixed: StatusMonitor overlapping with the Sonar in 4k

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:21:27 +03:00
parent fcd95da483
commit 66e0ac9dc6
12 changed files with 240 additions and 257 deletions
@@ -21,6 +21,7 @@ namespace Barotrauma.Items.Components
partial void InitProjSpecific(XElement element)
{
GuiFrame.RectTransform.RelativeOffset = new Vector2(0.4f, 0.0f);
new GUICustomComponent(new RectTransform(new Vector2(0.9f, 0.85f), GuiFrame.RectTransform, Anchor.Center),
DrawHUDBack, null);
submarineContainer = new GUIFrame(new RectTransform(new Vector2(0.9f, 0.85f), GuiFrame.RectTransform, Anchor.Center), style: null);