Ralph Sennhauser
93668e8447
Fix eslint rule 'prefer-const' in gui/reference
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/gui/reference
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-05-10 18:40:28 +02:00
phosit
094a7c2268
Return a promise from most page-inits
...
Adopt the new interface by all pages which close themself. (Not thous
using `Engine.SwitchGuiPage`.)
2025-03-09 10:39:20 +01:00
trompetin17
c843ee3c24
Scrollpanel: Structure Tree
2024-11-12 15:01:43 -05:00
phosit
660fdfac44
Use pageLoop for structree and civinfo
...
Deduplicate code in four places.
Comments by: @elexis
Differential Revision: https://code.wildfiregames.com/D5261
This was SVN commit r28085.
2024-05-10 13:16:52 +00:00
Freagarach
eae5840b0e
Fix structure tree/civinfo with empty civ history.
...
Since the history string is optional, don't fail without it.
Based on a patch by: @Silier
Fixes #6651
This was SVN commit r27427.
2023-01-12 10:34:53 +00:00
s0600204
a4bc787ddc
Don't have the Structure Tree fill up the entire screen
...
For those lucky enough to have screens with a high enough resolution to
display
a chosen civilisation's tree in its entirety, the Structure Tree page
now
determines the minimum space necessary to do so, and sizes itself
accordingly.
(e.g. The page no longer scales to fill the entire screen.)
For those on lower resolution screens, the page now takes up slightly
less space
vertically.
This was SVN commit r23813.
2020-07-11 02:50:32 +00:00
s0600204
b2842e8021
Rewrite Structure Tree and Template Viewer to use OOP principles
...
Commenters: elexis, Stan, Angen
Refs.: #5387
Differential Revision: https://code.wildfiregames.com/D2734
This was SVN commit r23808.
2020-07-07 19:11:36 +00:00