Skip to content

💃 Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) — 250+ poses × 5 angles in line art, names in ja/zh/en/ko

fix(web): keep lightbox arrow keys alive after focus loss, disable arrows on single-view poses

wqugurud792694507b9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2555dbfb..7b97d62d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,11 @@ the catalog schema.
ComfyUI, Midjourney).
- README screenshot retaken from the live gallery; README pose and view counts brought up to date.
+### Fixed
+- Lightbox angle arrows: ← → keys kept working only while focus stayed inside the lightbox, so they stopped after a
+ click on a view chip, the line/photo switch or the image; the arrow buttons now grey out on poses with one view or
+ none instead of looking live and doing nothing.
+
### Removed
- P006 front view: the drawing has three arms, which the QC review missed. Manual QC results now go in
`data/qc-input/fail_manual.json`.
diff --git a/web/app.css b/web/app.css
index 1a7b7468..94c7b801 100644
--- a/web/app.css
+++ b/web/app.css
@@ -194,6 +194,7 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }
.lb-missing { position: absolute; inset: 40px; border: 2px dashed rgba(24,24,27,0.28); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #3F3D39; font-size: 15px; padding: 20px; }
.lb-nav { position: absolute; top: 50%; margin-top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #F5F2ED; color: #18181B; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-nav.l { left: 20px; } .lb-nav.r { right: 20px; }
+.lb-nav:disabled { cursor: default; opacity: 0.35; }
.lb-counter { position: absolute; left: 20px; top: 18px; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--new); color: var(--new-ink); font-family: var(--mono); font-size: 13px; }
.lb-side { flex: 0 0 380px; padding: 36px 30px 28px 12px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
.lb-head { display: flex; flex-direction: column; gap: 8px; }
diff --git a/web/app.js b/web/app.js
index 00b7c814..f95e9491 100644
--- a/web/app.js
+++ b/web/app.js
@@ -466,6 +466,8 @@
const [mb, ms] = missingText(p, LB.v, LB.photo);
miss.innerHTML = f ? '' : '<b>' + esc(mb) + '</b><span>' + esc(ms) + '</span>';
$('lbCounter').textContent = T.views[LB.v] + ' ' + (LB.v + 1) + '/5';
+ // With one view or none there is nowhere to step; a live-looking arrow that does nothing reads as broken.
+ $('lbPrev').disabled = $('lbNext').disabled = arr.filter(Boolean).length < 2;
$('lbMeta').textContent = p.id + ' · ' + T.series[p.series] + ' · ' + catLabel(p);
$('lbTitle').textContent = nameOf(p);
$('lbNames').innerHTML = ['cn', 'jp', 'en', 'kr'].filter((s) => s !== T.suffix)
@@ -532,8 +534,11 @@
});
});
$('lb').addEventListener('close', () => history.replaceState(null, '', location.pathname + location.search));
- $('lb').addEventListener('keydown', (e) => {
- if (e.target.closest('input, textarea')) return;
+ // On document, not the dialog: re-rendering the chips or clicking the image drops focus to <body>,
+ // and a dialog-scoped listener would then miss every key until the reader tabbed back in.
+ document.addEventListener('keydown', (e) => {
+ // The share sheet opens on top of the lightbox; its keys are its own.
+ if (!$('lb').open || document.querySelector('dialog[open]:not(#lb)') || e.target.closest('input, textarea')) return;
if (e.key === 'ArrowLeft') { e.preventDefault(); stepAngle(-1); }
else if (e.key === 'ArrowRight') { e.preventDefault(); stepAngle(1); }
else if (e.key === 'ArrowUp') { e.preventDefault(); stepPose(-1); }
diff --git a/web/changelog.yaml b/web/changelog.yaml
index 2d936500..6ccf9ef2 100644
--- a/web/changelog.yaml
+++ b/web/changelog.yaml
@@ -4,6 +4,22 @@
# tag: new | improve | announce | removed. link: an in-site path without language prefix (/, /changelog/, /pose/P001/),
# optionally with ?query and #hash; the build prefixes the reader's language. Newest first.
entries:
+ - date: 2026-10-29
+ tag: improve
+ title: Angle arrows that always respond
+ desc: In the large view, the ← → keys now keep switching angles after you click a thumbnail or the image. On poses with a single angle the arrows grey out instead of doing nothing.
+ link: /
+ cta: Open the gallery
+ title_zh: 切换机位的左右箭头不再失灵
+ desc_zh: 大图里点过缩略图或图片之后,← → 键依然能切换机位。只有一个机位的姿势,箭头会变灰,不再按了没反应。
+ cta_zh: 打开画廊
+ title_ja: 左右の矢印が確実に反応するように
+ desc_ja: 拡大表示でサムネイルや画像をクリックしたあとも、← → キーでアングルを切り替えられます。アングルが 1 つだけのポーズでは矢印がグレーになります。
+ cta_ja: ギャラリーを開く
+ title_ko: 좌우 화살표가 항상 반응해요
+ desc_ko: 크게 보기에서 썸네일이나 이미지를 클릭한 뒤에도 ← → 키로 앵글을 바꿀 수 있습니다. 앵글이 하나뿐인 포즈에서는 화살표가 회색으로 바뀝니다.
+ cta_ko: 갤러리 열기
+
- date: 2026-10-29
tag: improve
title: Download a whole series in one small zip