Don't zoom UI lines when pixel doubling.

This commit is contained in:
Paul Chote
2013-10-14 23:42:45 +13:00
parent 44dd801f16
commit 84bb78060f
5 changed files with 22 additions and 16 deletions

View File

@@ -50,7 +50,7 @@ namespace OpenRA.Graphics
var dest = wr.ScreenPosition(pos + length);
var oldWidth = wlr.LineWidth;
wlr.LineWidth = width;
wlr.LineWidth = wr.Viewport.Zoom * width;
wlr.DrawLine(src, dest, color, color);
wlr.LineWidth = oldWidth;
}