From 401682d2667e9580223411884ea5d8ccbaf1bfae Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Wed, 1 Jul 2026 14:27:26 -0700 Subject: [PATCH] Make the whole rig cell tappable, not just the label Add .contentShape(Rectangle()) to the rig-row button label so the entire padded cell selects the rig, instead of only the text glyphs. Co-Authored-By: Claude Opus 4.8 --- Sources/LyrebirdShoeGazeUI/RigLibrarySidebarView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/LyrebirdShoeGazeUI/RigLibrarySidebarView.swift b/Sources/LyrebirdShoeGazeUI/RigLibrarySidebarView.swift index e73adc0..916ae61 100644 --- a/Sources/LyrebirdShoeGazeUI/RigLibrarySidebarView.swift +++ b/Sources/LyrebirdShoeGazeUI/RigLibrarySidebarView.swift @@ -145,6 +145,8 @@ struct RigLibrarySidebarView: View { RoundedRectangle(cornerRadius: RigLibrarySidebarView.rowCorner) .fill(Color.orange.opacity(isSelected ? RigLibrarySidebarView.selectedOpacity : 0)) ) + // Make the whole padded cell tappable, not just the text glyphs. + .contentShape(Rectangle()) } .buttonStyle(.plain) .contextMenu {