Show the Arena champ select in the banner (#85)
CI / core (pull_request) Successful in 1m35s

This commit is contained in:
nessar committed 2026-11-21 18:15:19 +01:00
1 parent 411d139a75
commit d74da1bee1
6 files changed
+540 -211

No files matched your search

+1
View File
@@ -47,4 +47,5 @@ The identity (ring, banner, animations; `docs/interface.md`) follows the same ru
- **Animations are triggered by an event** (end of a followed Match, champ select entering or leaving, card hover, tab change) and **draw nothing at rest**. No timer or loop keeps a frame going once an animation is over, and none runs while the window is hidden or minimised. They follow the Windows « Show animations » setting.
- **Two splashes decoded at most**: the one shown and the one replacing it. All splashes are downloaded in the background, at low priority, after the card portraits, and kept on disk.
- During champ select, the Anvil grid is cached at the height of its card rows. The capture replay checks that a splash fade builds no cards and that traversing the hand and « Autres champions » keeps at most two decoded splashes. The latest hovered card takes over when the current fade finishes.
- **The ring is a cached view**, laid out from its style alone. A structural test guards it: hovering a card, scrolling the grid or an animation on another part does not render the ring; only a change of what it shows (the champions' state, their order, the selection) or its own animation does. Its gain is checked at the next release benchmark.