Deal the hand at a champ select's entry and let it leave at its end (#87)

The entry plays once the window shows the champ select (not behind
« Paramètres »): a band of gold light sweeps the page in 900 ms, the
title comes in rising 8 px, and the Anvil champions come up from the
bottom of the window, the first at 380 ms then one every 110 ms. A card
still dealt is lifted once in its place; reasons arriving meanwhile show
on their card without dealing again, and cards arriving late with the
statistics are dealt from then.

An ally's confirmation lowers its card of the hand 8 px as it greys,
where it then rests. At the end, the hand leaves from the last card,
then the veil of the tabs covers the champ select and the end is applied
under it, the home coming back as #74 leaves it.

The moving cards are drawn by the page over the cached hand, from where
the grid placed them (`stage.rs`, as `card_lift`): the grid is never
drawn again for them, no statistics are computed, and no frame is asked
at rest. The Windows setting off, a hidden window or a covered page show
the end state at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
This commit is contained in:
nessarandClaude Opus 5.5 committed 2026-11-22 16:12:05 +01:00
1 parent ee2ab5cc33
commit b1c5c3a8cc
11 files changed
+1287 -89

No files matched your search

+5
View File
@@ -41,6 +41,11 @@ pub fn gold_glow(theme: &Theme) -> Hsla {
/// The pale gold of a played champion's tick on the ring.
pub fn ring_played(theme: &Theme) -> Hsla {
gold_soft(theme)
}
/// The reference's soft gold: a played champion's tick, the light sweeping the window.
pub fn gold_soft(theme: &Theme) -> Hsla {
if theme.mode.is_dark() {
Hsla::from(rgb(LOGO_GOLD)).opacity(0.34)
} else {