fix(shop): 장식 장착위치 튜닝 + 크기 비례 스케일 정규화 + 슬롯 카피 - #143
Open
rrheon wants to merge 1 commit into
Open
Conversation
장착위치 튜닝 (스냅샷 육안검증 확정값): - 들꽃 화관: onHead 공유값에서 분리 — offset(0, -0.05)·scale 0.82 (기본값으로는 화관이 얼굴을 감싸던 것을 머리 위 안착으로) - 별 후광: aboveHead baseline 하향 — V2 -0.40→-0.31 / 홈 -0.62→-0.56 - 풍선 다발: hand baseline 재배치 — V2 (0.40,0.30)→(0.46,-0.05) / 홈 (0.42,0.12)→(0.58,-0.18) (얼굴 겹침 해소, 옆·위로 든 모양) - 망토: backView 스케일 bodySize/40→/52 (본체를 덮던 과대 렌더 해소) 크기 비례 스케일 (구조 수정): - 장식 아트워크는 고정 pt 크기(디자인 기준 86)인데 baseline 은 size 비례라 상세 미리보기(130)에서 장식만 작아지고 간격이 벌어짐 - V2Mongle 에 decoScale(size/86) 도입, head/feet 장식 경로에 적용 (back 은 backView 가 bodySize 로 자체 비례 → 제외) 카피: - shop_slot_hint ko/en/ja 에 누락돼 있던 '손' 슬롯 추가 검증 하네스 (신규): - DecoSnapshotTests: 장식 9종 × 상점(V2Mongle)/홈(MongleView) ImageRenderer 렌더 - ShopScreenSnapshotTests: 상점 그리드·상세 실화면 UIWindow+layer.render 렌더 (LazyVGrid 는 ImageRenderer 미지원, headless 러너에선 drawHierarchy 검은화면) - MongleDecoSnap.xcscheme: 스냅샷 실행용 스킴 주의: 스냅샷 테스트 실행은 테스트 타깃 복구 PR(NotificationFeatureTests 컴파일 에러 수정) 머지가 선행돼야 한다. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
상점 v2 장식의 장착위치 디테일을 스냅샷 렌더 → 육안검증 루프로 튜닝하고, 상세 미리보기(130pt)에서 장식 비율이 깨지던 구조 문제를 수정합니다.
변경 내용
1. 장착위치 튜닝 (육안 확정값)
2. 크기 비례 스케일 정규화 (구조 수정)
장식 아트워크는 고정 pt(디자인 기준 86)인데 baseline 은 size 비례 → 상세 미리보기(130)에서 장식만 작아지고 간격이 벌어짐.
V2Mongle.decoScale(size/86)도입, head/feet 경로 적용 (back 은 자체 비례라 제외). 상세 9종 전부 86 시점 비율 복원.3. 카피
shop_slot_hintko/en/ja 에 hand 슬롯 추가 후 누락돼 있던 '손' 추가.4. 스냅샷 검증 하네스 (신규 테스트)
DecoSnapshotTests— 장식 9종 × 상점(V2Mongle)/홈(MongleView) ImageRenderer 렌더ShopScreenSnapshotTests— 상점 그리드·상세 실화면 UIWindow+layer.render (LazyVGrid 는 ImageRenderer 미지원)MongleDecoSnap.xcscheme— 실행용 스킴검증
스냅샷 테스트 실행은 테스트 타깃 복구 #142 머지가 선행돼야 합니다 (main 의 NotificationFeatureTests 컴파일 에러 때문 — 본 PR 과 파일 겹침 없음, 순서만 지키면 충돌 없음).
🤖 Generated with Claude Code