Checkboxes, Delegates, Create Server.
This commit is contained in:
@@ -25,6 +25,10 @@ namespace OpenRA.Widgets
|
||||
if (!Visible || !GetEventBounds().Contains(mi.Location.X,mi.Location.Y))
|
||||
return base.HandleInput(mi);
|
||||
|
||||
|
||||
if (base.HandleInput(mi))
|
||||
return true;
|
||||
|
||||
// Give button focus only while the mouse is down
|
||||
// This is a bit of a hack: it will become cleaner soonish
|
||||
// It will also steal events from any potential children
|
||||
@@ -36,7 +40,7 @@ namespace OpenRA.Widgets
|
||||
return true;
|
||||
}
|
||||
|
||||
return base.HandleInput(mi);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
|
||||
Reference in New Issue
Block a user