Fix help manual layout: shrink tabs to fit panel, space implant rows

- 10+ tabs at fixed 108px overflowed the 920px panel; tabs now shrink to fit
- Implant rows grew a rarity/cap sub-line but kept 20px spacing; now 26px
  with 10 rows per column (20 items/page, 5 pages for 82 items)
- Bump asset cache to v=39; smoke test asserts tabs stay on-screen
This commit is contained in:
MeatSlicer Developer committed 2026-07-30 16:17:20 +10:00
1 parent f9552326c2
commit d5b1828df4
5 files changed
+39 -32

No files matched your search

+7 -2
View File
@@ -1014,8 +1014,13 @@ console.log('== item stickiness ramps with owned count ==');
console.log('== help manual grows with the implant roster ==');
{
check('10 help pages (4 implant pages for 82 items)', ctx.HELP_PAGES.length === 10);
check('10 help renderers', ctx.HELP_RENDERERS.length === 10);
check('11 help pages (5 implant pages for 82 items)', ctx.HELP_PAGES.length === 11);
check('11 help renderers', ctx.HELP_RENDERERS.length === 11);
check('help tabs never overflow the panel', (() => {
const last = ctx.helpTabRect(ctx.HELP_PAGES.length - 1);
const first = ctx.helpTabRect(0);
return first.x >= 0 && last.x + last.w <= ctx.W;
})());
ctx.G.player = ctx.G.player || {};
const fctx = fakeCtx();
let renderOK = true;