#17018 Gets rif of cutoff line in chat window

This commit is contained in:
puritylake
2019-09-01 03:29:25 +01:00
committed by abcdefg30
parent 6fe31e44cb
commit aff3bf369b

View File

@@ -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;