A double click on a clip row did not open its tab. The first click of
the double click had already selected the clip for the inspector, so
the second click selected the same thing again and the editor saw no
change. Frames of textures and pixel art had no rows at all.
- A double click now asks for the tab with openSelection, even when
the selection is already right.
- Textures with frames and pixel art with more than one frame get a
chevron and one row per frame, like sounds and videos. Which rows an
asset has is decided in one place, src/core/model/assetParts.ts,
used by the panel and the inspector link.
- A texture frame shows in the inspector on click and opens the
texture with the frame selected on double click.
- A pixel art frame selects the pixel art on click, so an open tab
paints on that frame. A double click opens the tab on the frame.
- A frame can be dragged onto a composition track like a video clip.
The item carries the sprite of the whole image, the frame becomes
the texture of its object, and it is 3 s long. The agent can do the
same with add_composition_item.
- A texture label that names a frame now points at the frame row.
Found on the way: the e2e check from #425 only double clicked the
texture label, where the first click is a ping, so the bug never
showed there.
Tests:
- Unit: asset-parts (new, 6), composition-sprites and references
extended, related tests 303/303, agent tests 21/21
- 5 mutations, all red in the matching test
- e2e 69 (atx): ALL PASSED, 26 checks, 69t new
- Gate (atx): CHECK EXIT 0, 325 files, 5017 tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>