From 8e02615f8e3a8401c4300cb7c14362251bda57c4 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Mon, 5 Oct 2026 00:21:36 +0900 Subject: bluebey-studio: 目のメニューを両目/左右のグループ構成に整理 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/bluebey-studio/src/faceArt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/bluebey-studio/src/faceArt.js') diff --git a/public/bluebey-studio/src/faceArt.js b/public/bluebey-studio/src/faceArt.js index 01e5c31..71e7487 100644 --- a/public/bluebey-studio/src/faceArt.js +++ b/public/bluebey-studio/src/faceArt.js @@ -1314,7 +1314,6 @@ export function drawEyes(ctx, p) { const lidWidth = style.lidWidth ?? EYE_LAYOUT.lidStroke; const irisScale = style.irisScale ?? 1; const lookMax = style.lookMax ?? 1; - const highlightOn = style.highlight !== false; const heartScale = 2; const heartColor = style.heartColor ?? '#e0344f'; const irisRadius = EYE_LAYOUT.irisRadius * irisScale; @@ -1424,6 +1423,8 @@ export function drawEyes(ctx, p) { } else { fillCircle(ctx, irisX, irisY, irisRadius, line ? lineColor : irisColor); } + // 光彩 (the white glint) is per eye, falling back to the shared switch. + const highlightOn = spec.highlight != null ? spec.highlight === true : style.highlight !== false; if (highlightOn && !isHeart) { const hx = irisX + layout.towardNose * EYE_LAYOUT.highlightOffset.x * irisScale; const hy = irisY + EYE_LAYOUT.highlightOffset.y * irisScale; -- cgit v1.3.1