fixed HitTest for yaml chrome
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.Widgets.Delegates;
|
||||
|
||||
|
||||
namespace OpenRA.Widgets
|
||||
{
|
||||
public class Widget
|
||||
@@ -54,7 +52,6 @@ namespace OpenRA.Widgets
|
||||
child.Initialize();
|
||||
EventBounds = Rectangle.Union(EventBounds, child.EventBounds);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public virtual void UpdateEventBounds()
|
||||
@@ -118,6 +115,7 @@ namespace OpenRA.Widgets
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
class ContainerWidget : Widget { }
|
||||
}
|
||||
|
||||
class ContainerWidget : Widget { }
|
||||
}
|
||||
Reference in New Issue
Block a user