904dc9db6f4f5f9626548365bb424a04a2a762e5
BuildButtonGrid now holds the Simulation and reads the building block stock on demand, subscribing to BuildingBlocksChangedEvent itself instead of being driven through MainWindow. When the currently selected build tool can no longer be afforded, builder mode is exited so the button does not stay selected or linger enabled after exit. m_activeIndex is now a std::optional. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.1%
C
0.7%