Replace use of Contrast with Shadow for ingame chat and support power timers

This commit is contained in:
Oliver Brakmann
2016-08-31 20:55:22 +02:00
parent 38c16e4f7a
commit 624e69e97b
4 changed files with 20 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ namespace OpenRA.Mods.Common.Widgets
foreach (var t in texts)
{
var font = Game.Renderer.Fonts[Font];
font.DrawTextWithContrast(t.First, new float2(Bounds.Location) + new float2(0, y), t.Second, bgDark, bgLight, 1);
font.DrawTextWithShadow(t.First, new float2(Bounds.Location) + new float2(0, y), t.Second, bgDark, bgLight, 1);
y += (font.Measure(t.First).Y + 5) * (int)Order;
}
}