Files
TheriapolisV3/Theriapolis.Godot
Christopher Wiebe 479899d3d1 M6.15: Unified hybrid clade grid with Sire/Dam toggle headers
Replace the two stacked sire/dam clade grids in StepClade hybrid
mode with one unified grid where each card carries Sire and Dam
toggle buttons side-by-side in its header (right edge of the title
row). A single clade can become either parent; picking Sire on a
card currently set as Dam atomically clears the Dam pick (and vice
versa). Card body click is disabled in hybrid mode — only the
toggles change selection.

Mechanics: BuildLineageCladePatch extracts the per-lineage clear
logic from the old OnLineageCladePicked into a patch builder so
OnHybridParentPressed can compose multi-lineage patches into one
atomic Patch call (the cross-clear case applies both lineage
updates in a single Changed signal). UpdateHybridCards walks the
unified card dictionary and syncs both toggle states + the card's
selected highlight.

Drops the old _sireCards / _damCards dictionaries and the
OnLineageCladePicked callback, since hybrid mode no longer routes
through the per-grid click handlers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-04 22:01:29 -07:00
..