mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Draw trainer section before tree section
Previously, TreeSection was drawn before TrainerSection. Reversing the order ensures TrainerSection layout is resolved first, which fixes scroll state being computed against an incomplete structree page render. Fixes #8893
This commit is contained in:
parent
39b1311fac
commit
50e1f51755
1 changed files with 1 additions and 1 deletions
|
|
@ -53,8 +53,8 @@ class StructreePage extends ReferencePage
|
|||
this.CivHistory.caption = this.civData[this.activeCiv].History || "";
|
||||
|
||||
const templateLists = this.TemplateLister.getTemplateLists(this.activeCiv);
|
||||
this.TreeSection.draw(templateLists.structures, this.activeCiv);
|
||||
this.TrainerSection.draw(templateLists.units, this.activeCiv);
|
||||
this.TreeSection.draw(templateLists.structures, this.activeCiv);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue