paint_cell_material_at and erase_cell_material_at wrap maps.set_cell_material with a mark_dirty. The canvas-click dispatch in M.handle_click and the per-frame drag handler both route through these actions when state.mode == "cell-tile". Self- test t10 confirms a paint round-trips through maps.get_cell_material. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
74 KiB
74 KiB