remove (broken) cloning support from ChatDisplayWidget; doesn't make any sense.
This commit is contained in:
@@ -29,9 +29,6 @@ namespace OpenRA.Widgets
|
|||||||
public ChatDisplayWidget()
|
public ChatDisplayWidget()
|
||||||
: base() { }
|
: base() { }
|
||||||
|
|
||||||
protected ChatDisplayWidget(Widget widget)
|
|
||||||
: base(widget) { }
|
|
||||||
|
|
||||||
public override Rectangle EventBounds { get { return Rectangle.Empty; } }
|
public override Rectangle EventBounds { get { return Rectangle.Empty; } }
|
||||||
|
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
@@ -96,8 +93,6 @@ namespace OpenRA.Widgets
|
|||||||
ticksUntilRemove = RemoveTime;
|
ticksUntilRemove = RemoveTime;
|
||||||
RemoveLine();
|
RemoveLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Widget Clone() { return new ChatDisplayWidget(this); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ChatLine
|
class ChatLine
|
||||||
|
|||||||
Reference in New Issue
Block a user