Status: ready Priority: 3 Size: S Design ref: src/page/animate.js; src/page/chunks.js Goal: A tile whose biome changed is repainted in the frame the page sees it, whether or not a tree stage changed in the same step. Acceptance criteria:
updateSettlement (src/page/animate.js) repaints when st.biomeDirty has tiles, not only when st.treeDirty has: a step that sets only st.biomeDirty recolours the overview in the next frame, and the set is cleared.tests/page.js: a tile added to st.biomeDirty alone is gone from the set after a frame, and its overview chunk’s texture was updated.npm test and npm run verify pass.Notes:
st.biomeDirty against 56 that set st.treeDirty, so most biome changes wait, up to a game day, for the next tree change.src/page/chunks.js: one at a time.page/animate calls refreshTrees when st.biomeDirty alone has tiles. The check in tests/page.js is still to write.