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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user