Refactoring on GetEventBounds in Widget

This commit is contained in:
teinarss
2020-02-15 09:43:08 +01:00
committed by abcdefg30
parent 1a9f707d18
commit 2cf6b74295
3 changed files with 14 additions and 17 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenRA.Mods.Common.Widgets
public override void Draw() { BeforeRender(); }
public override Rectangle GetEventBounds() { return Rectangle.Empty; }
public override bool EventBoundsContains(int2 location) { return false; }
public override int2 ChildOrigin
{