From bff407588e04eaa5f33bac68ce888c478f94c7f1 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 25 Jul 2022 15:42:08 +1000 Subject: [PATCH] Clip radar control (#10011) Forgor to do it. Still need to make the viewport square but at least it won't draw under the display anymore. --- Content.Client/Shuttles/UI/RadarControl.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/Shuttles/UI/RadarControl.cs b/Content.Client/Shuttles/UI/RadarControl.cs index 004a040d6f..01bd88fc25 100644 --- a/Content.Client/Shuttles/UI/RadarControl.cs +++ b/Content.Client/Shuttles/UI/RadarControl.cs @@ -73,6 +73,7 @@ public sealed class RadarControl : Control { IoCManager.InjectDependencies(this); MinSize = (SizeFull, SizeFull); + RectClipContent = true; } public void SetMatrix(EntityCoordinates? coordinates, Angle? angle)