Widget IHandleInputs now

This commit is contained in:
alzeih
2010-07-21 16:51:00 +12:00
parent d0b4761e07
commit 0ac91d3c5e
17 changed files with 66 additions and 63 deletions

2
OpenRA.Game/Widgets/MapPreviewWidget.cs Executable file → Normal file
View File

@@ -43,7 +43,7 @@ namespace OpenRA.Widgets
return new int2(MapRect.X + (int)(PreviewScale*(point.X - map.TopLeft.X)) , MapRect.Y + (int)(PreviewScale*(point.Y - map.TopLeft.Y)));
}
public override bool HandleInput(MouseInput mi)
public override bool HandleInputInner(MouseInput mi)
{
var map = Map();
if (map == null)