Fix a couple of nits
This commit is contained in:
@@ -47,6 +47,7 @@ namespace OpenRA.Widgets
|
||||
public override void DrawInner(World world)
|
||||
{
|
||||
WidgetUtils.FillRectWithColor(RenderBounds, GetColor());
|
||||
Game.chrome.lineRenderer.Flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ namespace OpenRA.Widgets
|
||||
return false;
|
||||
|
||||
// Send the event to the deepest children first and bubble up if unhandled
|
||||
foreach (var child in Children)
|
||||
foreach (var child in Children.OfType<Widget>().Reverse())
|
||||
if (child.HandleMouseInputOuter(mi))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user