aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-04 18:42:33 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-04 18:42:33 +0900
commit3e7c91d294555e1c90e4760fecfdd94f028c427e (patch)
treeb030f5ec359befb0138864780afaa0a80bff71ad
parent0f981a4e28f0cde34e98975dd257f8c4bacf61d7 (diff)
bluebey-studio: 「目を細める」を目のメインに移動
「こまかい設定」の中にあって見つけにくかったため、目タブのメイン(目線の下)に移動した。
-rw-r--r--public/bluebey-studio/src/panel.js33
1 files changed, 18 insertions, 15 deletions
diff --git a/public/bluebey-studio/src/panel.js b/public/bluebey-studio/src/panel.js
index ba60cad..e9eba0c 100644
--- a/public/bluebey-studio/src/panel.js
+++ b/public/bluebey-studio/src/panel.js
@@ -628,6 +628,24 @@ export function buildPanel(app, root) {
lookPad.el,
h('p', { class: 'hint', text: 'ドラッグで両目が動きます。ダブルクリックで正面に戻ります。' }))));
+ // 目を細める: a one-tap マンガの細目, kept out of the こまかい設定 box so it is
+ // easy to find.
+ faceSection.add(buttons({
+ items: [{
+ id: 'squint',
+ label: '目を細める',
+ onClick: () => {
+ // The upper lid comes partway down and the lower lid rises to meet it.
+ // `open` is per-eye (kept in step here); `lowerLid` is shared.
+ state.face.eyes.left.open = 0.5;
+ state.face.eyes.right.open = 0.5;
+ state.face.eyes.lowerLid = 0.5;
+ app.actions.refresh('face');
+ sync();
+ },
+ }],
+ }));
+
const eyeAdvanced = details(faceSection.body, 'こまかい設定(瞳・ハート・涙・まぶた)');
const irisScaleSlider = slider({
label: '瞳の大きさ', min: 0.4, max: 1.4, step: 0.01, value: 1, format: (v) => v.toFixed(2),
@@ -676,21 +694,6 @@ export function buildPanel(app, root) {
eyeAdvanced.add(lidWidthSlider.el);
eyeAdvanced.add(lowerLidSlider.el);
eyeAdvanced.add(lidShapeSegment.el);
- eyeAdvanced.add(buttons({
- items: [{
- id: 'squint',
- label: '目を細める',
- onClick: () => {
- // マンガの細目: the upper lid comes partway down and the lower lid rises to
- // meet it. `open` is per-eye (kept in step here); `lowerLid` is shared.
- state.face.eyes.left.open = 0.5;
- state.face.eyes.right.open = 0.5;
- state.face.eyes.lowerLid = 0.5;
- app.actions.refresh('face');
- sync();
- },
- }],
- }));
eyeAdvanced.add(hint('「まぶたの形」を「直線」にすると、まぶたが平らに下りてきます。'
+ '「目を細める」で、上まぶたを下げつつ下まぶたを上げた細目になります。'
+ '「下まぶた」を上げると、下からもまぶたが持ち上がります。'));