remove ObjectCreator.Param and all associated nonsense
This commit is contained in:
@@ -16,8 +16,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
public class ButtonTooltipLogic
|
||||
{
|
||||
[ObjectCreator.UseCtor]
|
||||
public ButtonTooltipLogic([ObjectCreator.Param] Widget widget,
|
||||
[ObjectCreator.Param] ToggleButtonWidget button)
|
||||
public ButtonTooltipLogic(Widget widget, ToggleButtonWidget button)
|
||||
{
|
||||
var label = widget.GetWidget<LabelWidget>("LABEL");
|
||||
var hotkey = widget.GetWidget<LabelWidget>("HOTKEY");
|
||||
|
||||
Reference in New Issue
Block a user