Add automated chrome string extractor.

This commit is contained in:
Gustas
2023-10-18 23:29:44 +03:00
committed by Matthias Mailänder
parent 1f0e73906e
commit cbd6b67456
16 changed files with 428 additions and 19 deletions

View File

@@ -23,8 +23,8 @@ namespace OpenRA.Mods.Common.Widgets
readonly CachedTransform<string, (string Text, bool Highlighted)[]> textComponents;
[ObjectCreator.UseCtor]
public LabelWithHighlightWidget()
: base()
public LabelWithHighlightWidget(ModData modData)
: base(modData)
{
textComponents = new CachedTransform<string, (string, bool)[]>(MakeComponents);
}