Fix cursor interaction with widgets

This commit is contained in:
Paul Chote
2010-07-20 23:51:55 +12:00
parent 5abe52607d
commit bd69047e8c
7 changed files with 24 additions and 30 deletions

View File

@@ -37,7 +37,8 @@ namespace OpenRA.Widgets
Game.chrome.renderer.RgbaSpriteRenderer.Flush();
}
}
public override Rectangle EventBounds { get { return Rectangle.Empty; } }
public override bool LoseFocus(MouseInput mi)
{
return composing ? false : base.LoseFocus(mi);