fixed HitTest for yaml chrome

This commit is contained in:
Chris Forbes
2010-03-16 19:02:24 +13:00
parent bba765cb4b
commit 088b97fd96
2 changed files with 6 additions and 7 deletions

View File

@@ -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 { }
}