From aff3bf369b116690396780cf66adcb2baad1ac83 Mon Sep 17 00:00:00 2001 From: puritylake Date: Sun, 1 Sep 2019 03:29:25 +0100 Subject: [PATCH] #17018 Gets rif of cutoff line in chat window --- OpenRA.Mods.Common/Widgets/ChatDisplayWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/ChatDisplayWidget.cs b/OpenRA.Mods.Common/Widgets/ChatDisplayWidget.cs index 4309fb9ea3..8eb58ed8e9 100644 --- a/OpenRA.Mods.Common/Widgets/ChatDisplayWidget.cs +++ b/OpenRA.Mods.Common/Widgets/ChatDisplayWidget.cs @@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Widgets var textSize = font.Measure(text).Y; var offset = font.TopOffset; - if (chatPos.Y < pos.Y) + if (chatPos.Y - font.TopOffset < pos.Y) break; var textLineHeight = lineHeight;