The Context tab redraws the whole pane whenever the advice answers, the
routing history answers, the state changes or a setting is put in. Only
loadContext marked the pane "still", and only when a new history replaced
an old one, so on opening the tab every curve played its entrance two or
more times (the owner saw them play "好多次"), and the history's cards
replayed theirs when the advice came in after them.
renderContext now remembers whether its last draw showed the history and
the advice: what was on the pane already holds still (.still for the
history, .tune-still for the advice), and only what is new plays. A range
change clears both, so the new range's draw plays once.
Run:
- new test "the advice's curves play their entrance once" (chromium,
webkit): red without the change (8 draws of 4 curves in both), green
with it.
- context-tune, context-window, context-scroll-end, group-context,
routing-ctx-fold, routing-ctx-still: all pass in both engines.
- routing-context-fold: 2 WebKit failures, the same on origin/main without
this change (the sticky header covers the fold button), filed as #1529.