Listbox content shouldn't steal clicks if they're clipped
This commit is contained in:
@@ -149,7 +149,7 @@ namespace OpenRA.Widgets
|
||||
}
|
||||
|
||||
public virtual Rectangle EventBounds { get { return RenderBounds; } }
|
||||
public Rectangle GetEventBounds()
|
||||
public virtual Rectangle GetEventBounds()
|
||||
{
|
||||
return Children
|
||||
.Where(c => c.IsVisible())
|
||||
|
||||
Reference in New Issue
Block a user