Files
OpenFrontIO/tests
Evan e7b4317718 fix: radial build sub-menu items stay grayed out after gaining enough gold (#3415)
## Description:

canBuildOrUpgrade was captured once at sub-menu open time, so
disabled/color
never updated while the menu was open. Evaluate canBuildOrUpgrade
dynamically
inside the disabled and color callbacks so the menu reflects current
gold on
each refresh tick.


## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

evan
2026-03-30 16:44:44 -07:00
..
2026-03-17 11:15:36 -07:00
2025-12-20 13:35:30 -08:00
2025-12-20 13:35:30 -08:00
2026-03-03 14:07:06 -08:00
2026-01-08 13:34:18 -08:00
2026-02-17 00:19:36 +00:00
2025-12-20 13:35:30 -08:00
2026-02-17 00:19:36 +00:00