Skip to content

[#519] List row들의 터치/탭 히트박스를 확장한다#525

Merged
opficdev merged 2 commits into
developfrom
fix/#516-list
Jun 3, 2026
Merged

[#519] List row들의 터치/탭 히트박스를 확장한다#525
opficdev merged 2 commits into
developfrom
fix/#516-list

Conversation

@opficdev
Copy link
Copy Markdown
Owner

@opficdev opficdev commented Jun 3, 2026

🔗 연관된 이슈

🎯 의도

  • Mac App에서 Home 화면의 List row에서 터치 가능 영역이 실제 표시 영역과 어긋나는 문제 개선

📝 작업 내용

📌 요약

  • Home 화면의 Todo category row에서 contentShape 적용 위치를 조정

🔍 상세

  • labelImage에서 vertical padding보다 먼저 contentShape(.rect)가 적용되도록 modifier 순서를 변경
  • row label의 시각적 padding은 유지하면서, hit-test shape가 padding으로 줄어든 영역을 기준으로 잡히지 않도록 조정

📸 영상 / 이미지 (Optional)

@opficdev opficdev self-assigned this Jun 3, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 풀 리퀘스트에서는 HomeView.swift에서 .padding(.vertical, -6).contentShape(.rect)의 적용 순서가 변경되었습니다. 리뷰어는 이러한 순서 변경과 음수 패딩의 사용이 터치 영역(hit-test area)의 중첩을 유발하여 오작동을 일으킬 수 있음을 지적하고, 대신 .listRowInsets를 사용하여 간격을 조절하도록 권장하는 유용한 피드백을 제공했습니다.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread Application/DevLogPresentation/Sources/Home/Home/HomeView.swift Outdated
@opficdev opficdev changed the title fix: contentShape 위치 이동 [#519] List row들의 터치/탭 히트박스를 확장한다 Jun 3, 2026
@opficdev opficdev merged commit c93a6d1 into develop Jun 3, 2026
1 check passed
@opficdev opficdev deleted the fix/#516-list branch June 3, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List row들의 터치/탭 히트박스를 확장한다

1 participant