Skip to content

Commit 1105ce7

Browse files
graycreateclaude
andcommitted
feat: increase tap area for filter menu trigger in navbar
- Added horizontal padding (20pt) to expand clickable area - Added vertical padding (8pt) for easier tapping - Added contentShape(Rectangle()) to ensure entire padded area is tappable - Makes filter menu much easier to trigger, especially on real devices 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 61953eb commit 1105ce7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

V2er/View/Widget/TopBar.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ struct TopBar: View {
6666
.font(.system(size: 14, weight: .semibold))
6767
.foregroundColor(.primary)
6868
}
69+
.padding(.horizontal, 20) // Expand tap area horizontally
70+
.padding(.vertical, 8) // Expand tap area vertically
71+
.contentShape(Rectangle()) // Make entire padded area tappable
6972
.onTapGesture {
7073
// Soft haptic feedback
7174
let impactFeedback = UIImpactFeedbackGenerator(style: .light)

0 commit comments

Comments
 (0)