Remove a ScrollItem header hack

with the merge of #20218 headers no longer need to be selected
This commit is contained in:
Gustas
2022-09-16 19:09:24 +03:00
committed by Matthias Mailänder
parent 6b63114aaa
commit fe72dd4140
11 changed files with 14 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
void CreateActorGroup(string title, IEnumerable<ActorInfo> actors)
{
var header = ScrollItemWidget.Setup(headerTemplate, () => true, () => { });
var header = ScrollItemWidget.Setup(headerTemplate, () => false, () => { });
header.Get<LabelWidget>("LABEL").GetText = () => title;
actorList.AddChild(header);