fix mouse input breakage on radarbin

This commit is contained in:
Chris Forbes
2010-07-20 20:49:10 +12:00
parent 02e4de61eb
commit f39f7fc23e

View File

@@ -65,6 +65,12 @@ namespace OpenRA.Widgets
return true; return true;
} }
public override Rectangle RenderBounds
{
get { return new Rectangle((int)radarOrigin.X + 9, (int)(radarOrigin.Y + (192 - radarMinimapHeight) / 2),
192, (int)radarMinimapHeight);}
}
public override void DrawInner(World world) public override void DrawInner(World world)
{ {
radarCollection = "radar-" + world.LocalPlayer.Country.Race; radarCollection = "radar-" + world.LocalPlayer.Country.Race;