orbit/data
Brian Fertig cff8fa335e Fix mining popup width and layout to fit real font metrics
- Widen the data-driven base width and clamp the panel to at least the widest button plus padding, since MenuButton measures itself in the live web font and won't shrink below its label.
- Rewrite layout() with a top-edge-relative p() helper so the header/MINE/CANCEL order stays consistent whether the popup opens above or below the anchor.
- Add dev/popup-shot.html/.mjs to boot the game headless, await the typefaces (same contract as js/main.js), open the mining menu on a deterministic cluster, and report panel/button geometry plus fit booleans.
- Extend dev/wdshot.mjs with an optional settleMs argument so pages with top-level awaits (font loading) can finish their async boot before the setup script runs.
2026-09-04 17:16:56 -06:00
..
actionbar.json Simplify action bar slots to label-only buttons 2026-09-04 09:12:03 -06:00
asteroids.json Fix mining popup width and layout to fit real font metrics 2026-09-04 17:16:56 -06:00
builds.json
galaxy.json
game.json Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
manifest.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
menu.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
naming.json Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
planets.json Rework solar system layout to orbit rings with minSpacing/maxNeighbor ru 2026-09-03 23:01:47 -06:00
research.json
save.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
settlements.json
sfx.json Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
ship.json
systems.json
tether.json
theme.json