aboutsummaryrefslogtreecommitdiff
path: root/docs/testing-plan.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-01 14:07:26 -0400
committerCraig Jennings <c@cjennings.net>2026-07-01 14:07:26 -0400
commit0e306183e814659798f24573389a46b0d2b8e29a (patch)
tree6534ba9b252072b7c571aa91f36d846a33af8201 /docs/testing-plan.org
parentf2d3f6c6586ede7f757ca74ea699982562f069a7 (diff)
downloademacs-wttrin-0e306183e814659798f24573389a46b0d2b8e29a.tar.gz
emacs-wttrin-0e306183e814659798f24573389a46b0d2b8e29a.zip
fix: center the loading placeholder on an a switch
wttrin-query inserted the "Loading weather for ..." placeholder but never centered it, leaving that to window-configuration-change-hook. On an `a` switch the *wttr.in* buffer is already displayed, so the hook doesn't fire. The placeholder kept the previous weather block's window margin and rendered off-center until the new weather arrived. I moved the placeholder rendering into wttrin--render-loading-placeholder, which centers it explicitly via wttrin--update-layout. It no longer depends on the hook, so the placeholder is centered on the first open and through every switch.
Diffstat (limited to 'docs/testing-plan.org')
0 files changed, 0 insertions, 0 deletions