connection updates

This commit is contained in:
Mark Gregory
2026-10-19 12:56:17 +01:00
parent a27680d893
commit b69be9f419
+1 -2
View File
@@ -1775,8 +1775,7 @@ struct SQLTextView: NSViewRepresentable {
.padding(.vertical, 4) .padding(.vertical, 4)
.background(index == 0 ? Color.accentColor.opacity(0.16) : Color.clear) .background(index == 0 ? Color.accentColor.opacity(0.16) : Color.clear)
.contentShape(Rectangle()) .contentShape(Rectangle())
.onTapGesture { [weak self, weak editor] in .onTapGesture {
guard let self, let editor else { return }
self.selectedSuggestion = index self.selectedSuggestion = index
self.acceptSuggestion(editor) self.acceptSuggestion(editor)
} }