Commit 000b4fb
Delay auto-spawn so kill/detach animation can finish first
On last-pane kill/detach, the outgoing-pane animation (crush or
detach-to-door) and the incoming-pane reveal used to start at the same
time and fight for the same screen region. Now the spawn is deferred by
440ms (the animation duration) so the two play sequentially. If any
other action re-populates the pane area during the delay (e.g. door
reattach), the deferred spawn becomes a no-op.
Reduced-motion skips the delay.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e665bf4 commit 000b4fb
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1477 | 1482 | | |
1478 | | - | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
1479 | 1489 | | |
1480 | 1490 | | |
1481 | 1491 | | |
1482 | 1492 | | |
1483 | 1493 | | |
1484 | | - | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1485 | 1497 | | |
1486 | 1498 | | |
1487 | 1499 | | |
| |||
0 commit comments