remove ObjectCreator.Param and all associated nonsense
This commit is contained in:
@@ -17,9 +17,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
public class SimpleTooltipLogic
|
||||
{
|
||||
[ObjectCreator.UseCtor]
|
||||
public SimpleTooltipLogic([ObjectCreator.Param] Widget widget,
|
||||
[ObjectCreator.Param] TooltipContainerWidget tooltipContainer,
|
||||
[ObjectCreator.Param] Func<string> getText)
|
||||
public SimpleTooltipLogic(Widget widget, TooltipContainerWidget tooltipContainer, Func<string> getText)
|
||||
{
|
||||
var label = widget.GetWidget<LabelWidget>("LABEL");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user