1
0
forked from 0ad/0ad

(Re)display phase idents in Structure Tree

They were all set to hidden-by-default as part of b7ff371d00, only there
wasn't anything to tell them to unhide when we actually want them. This
commit
fixes that.


Differential Revision: https://code.wildfiregames.com/D4114
This was SVN commit r25750.
This commit is contained in:
s0600204 2021-06-08 23:20:39 +00:00
parent 990d61a74a
commit 06672206d4

View File

@ -27,6 +27,7 @@ class PhaseIdent
identSize.top = TreeSection.getPositionOffset(this.phaseIdx, this.page.TemplateParser);
identSize.bottom = TreeSection.getPositionOffset(this.phaseIdx + 1, this.page.TemplateParser);
this.Ident.size = identSize;
this.Ident.hidden = false;
// Draw main icon
this.drawPhaseIcon(this.Icon, this.phaseIdx, civCode);