← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit e4f3eda2a2463b946a69887865b437b1c387fbdd
parent f09cea5083c83b81beaf30cc99f20bd1304570cb
Author: Michael Camilleri <[email protected]>
Date:   Mon, 11 May 2026 00:55:02 +0900

Adjust touch target for previous/next buttons in Clue Bar

Diffstat

MCrossmate/Views/PuzzleView.swift | 9+++++----

1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Crossmate/Views/PuzzleView.swift b/Crossmate/Views/PuzzleView.swift

@@ -1036,7 +1036,7 @@ private struct ClueBarContent: View {
     var onLabelTap: (() -> Void)?
 
     var body: some View {
-        HStack(alignment: .clueCenter, spacing: 12) {
+        HStack(alignment: .clueCenter, spacing: 8) {
             ClueBarIcon(systemName: "chevron.left", action: onPrevious)
 
             VStack(alignment: .leading, spacing: 4) {
@@ -1065,8 +1065,8 @@ private struct ClueBarContent: View {
 
             ClueBarIcon(systemName: "chevron.right", action: onNext)
         }
-        .padding(.horizontal, 12)
-        .padding(.vertical, 12)
+        .padding(.horizontal, 8)
+        .padding(.vertical, 6)
     }
 
     @ViewBuilder
@@ -1106,7 +1106,8 @@ private struct ClueBarIcon: View {
     private var icon: some View {
         Image(systemName: systemName)
             .font(.title3.weight(.semibold))
-            .frame(width: 32, height: 32)
+            .frame(width: 44, height: 44)
+            .contentShape(Rectangle())
     }
 }