fix stupid regression in specialpowerbinwidget

This commit is contained in:
Chris Forbes
2010-04-24 22:25:43 +12:00
parent da86ce6fad
commit fe9b463c32

View File

@@ -64,12 +64,7 @@ namespace OpenRA.Widgets
public override bool HandleInput(MouseInput mi)
{
// Are we able to handle this event?
if (!IsVisible() || !GetEventBounds().Contains(mi.Location.X,mi.Location.Y))
return base.HandleInput(mi);
if (base.HandleInput(mi))
return true;
if (!IsVisible()) return false;
if (mi.Event == MouseInputEvent.Down)
{