mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-02 14:39:41 -06:00
Local lists a folder once per place it is in: Pictures as a place of its own and again inside Home. Each Local row keyed its open state and its triangle's egui id by the folder's path alone, so once Home was open the two Pictures triangles shared one id: the copy drawn last took the clicks of the copy drawn first, and the first Pictures could not be collapsed. The open state was shared too, so both copies opened and closed together. The tree now keys both by the top-level place it hangs from as well, so every row opens and closes by itself. Regression test: two Local places, one inside the other, and a click on each copy's triangle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>