Add automated chrome string extractor.
This commit is contained in:
committed by
Matthias Mailänder
parent
1f0e73906e
commit
cbd6b67456
@@ -24,8 +24,8 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
readonly CachedTransform<bool, Color> textColor;
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
public LabelForInputWidget()
|
||||
: base()
|
||||
public LabelForInputWidget(ModData modData)
|
||||
: base(modData)
|
||||
{
|
||||
inputWidget = Exts.Lazy(() => Parent.Get<InputWidget>(For));
|
||||
textColor = new CachedTransform<bool, Color>(disabled => disabled ? TextDisabledColor : TextColor);
|
||||
|
||||
Reference in New Issue
Block a user