#17018 Gets rif of cutoff line in chat window
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
var textSize = font.Measure(text).Y;
|
var textSize = font.Measure(text).Y;
|
||||||
var offset = font.TopOffset;
|
var offset = font.TopOffset;
|
||||||
|
|
||||||
if (chatPos.Y < pos.Y)
|
if (chatPos.Y - font.TopOffset < pos.Y)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
var textLineHeight = lineHeight;
|
var textLineHeight = lineHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user