connection updates
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user