diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-04 20:34:13 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-04 20:34:13 +0900 |
| commit | adc9bc266ca9795cd153c8425bf8f31f6ad31ac7 (patch) | |
| tree | 66a22de68bff1f4f48befee058d07ba75606167f | |
| parent | 2d5a61b98f9ab25b3a7e5dc5bee11cb98c5156df (diff) | |
bluebey-studio: まぶたの傾きが効かないのを修正
face.js から lidTilt を描画側に渡していなかったため無効だった。配線し、名称を「まぶたの傾き」に変更。
| -rw-r--r-- | public/bluebey-studio/src/face.js | 1 | ||||
| -rw-r--r-- | public/bluebey-studio/src/panel.js | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/public/bluebey-studio/src/face.js b/public/bluebey-studio/src/face.js index 0a00399..65c16d9 100644 --- a/public/bluebey-studio/src/face.js +++ b/public/bluebey-studio/src/face.js @@ -236,6 +236,7 @@ export class Face { lidWidth: p.eyes.lidWidth, lowerLid: p.eyes.lowerLid, lidShape: p.eyes.lidShape, + lidTilt: p.eyes.lidTilt, brow: p.eyes.brow, // ほっぺ and 頭の模様 are shared by the whole face, so they travel with // the other shared eye fields (see `drawEyes` in src/faceArt.js). diff --git a/public/bluebey-studio/src/panel.js b/public/bluebey-studio/src/panel.js index 5a231f6..5ef2b9c 100644 --- a/public/bluebey-studio/src/panel.js +++ b/public/bluebey-studio/src/panel.js @@ -659,10 +659,12 @@ export function buildPanel(app, root) { }); faceSection.add(lidShapeSegment.el); const lidTiltSlider = slider({ - label: '目の傾き', min: -40, max: 40, step: 1, value: 0, format: (v) => `${Math.round(v)}°`, + label: 'まぶたの傾き', min: -40, max: 40, step: 1, value: 0, format: (v) => `${Math.round(v)}°`, onInput: (value) => { state.face.eyes.lidTilt = value; app.actions.refresh('face'); }, }); faceSection.add(lidTiltSlider.el); + faceSection.add(hint('「まぶたの形」を「直線」にすると、まぶたが平らに下りてきます。' + + '「まぶたの傾き」で、細めた目を左右反転で傾けられます。')); const eyeAdvanced = details(faceSection.body, 'こまかい設定(瞳・ハート・涙・まぶた)'); const irisScaleSlider = slider({ |
